cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: C libcurl max multi connections limit

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 1 Dec 2004 10:57:15 -0800

On Wed, Dec 01, 2004 at 06:08:34PM -0000, Guillaume Arluison wrote:
> I'll let someone else answer for libcurl itself cos I dont know the answer
> (and I'm interested) but 1024 concurrent connections seems really high (and
> my job is 50% of time doing stress tests and I'm already scared by a lot
> less concurrent connections :))
> You said that your application is a client (with curl its usual :)) so it
> means your target is a server. Are you sure the server isnt already limited
> by this value of 1024 connections at a time ? It's rare that you can handle
> more than that in the application layer even before hitting the limit of the
> kernel/network no ?

I would guess it's an OS or per-process limit on open sockets. Run the
bash command ulimit -a to see what your process limits are.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2004-12-01