Re: Maximum simultaneous NSURLConnections?
Re: Maximum simultaneous NSURLConnections?
- Subject: Re: Maximum simultaneous NSURLConnections?
- From: John Stiles <email@hidden>
- Date: Wed, 15 Mar 2006 18:03:09 -0800
Was the crash Apple's or yours?
I've opened many hundreds of files simultaneously (after using
setrlimit to remove the file descriptor limit) without any problems.
I haven't tried a similar experiment with network connections,
though. I certainly run apps on a regular basis which open 500-600
files simultaneously, and there haven't been any stability issues.
On Mar 15, 2006, at 4:54 PM, Jerry Krinock wrote:
I was wondering the same thing last year and never found an
educated answer,
so here's my empirical answer.
The number of available UNIX file descriptors (256?) seems like it
would be
an upper bound. As an experiment, one time I set no limit and my app
crashed somewhere around 700. I set my app's limit at 64 and this
has been
field-proven with no problems.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden