• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Maximum simultaneous NSURLConnections?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Re: Maximum simultaneous NSURLConnections? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Changing NSTableView DataSource without glitching
  • Next by Date: KVO and Coredata/Undo Clarification
  • Previous by thread: Re: Maximum simultaneous NSURLConnections?
  • Next by thread: Re: Maximum simultaneous NSURLConnections?
  • Index(es):
    • Date
    • Thread