Re: Crash with FD_SET when there are more than 1024 open files
Re: Crash with FD_SET when there are more than 1024 open files
- Subject: Re: Crash with FD_SET when there are more than 1024 open files
- From: email@hidden (Stefan Haller)
- Date: Thu, 15 Apr 2010 20:03:36 +0200
Joel Reymont <email@hidden> wrote:
> The issue you may have is that Bonjour was compiled with FD_SETSIZE of
> 1024.
Exactly, that's what I'm talking about. And my concern is that other
code may be running in my process that has the same issue (since it's
such a common pattern, in the Unix world at least).
> I used to routinely open about 50K sockets.
Then you may just have been lucky. The Bonjour problem I discribed
occurs whenever you open an NSOpenPanel or NSSavePanel while you are on
a LAN with other Macs. So either this doesn't apply to you, or the code
did overwrite random bits somewhere on your stack and you just didn't
notice.
--
Stefan Haller
Berlin, Germany
http://www.haller-berlin.de/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden