Re: Solved >Re: Trouble making more than 244 simultaneous connections
Re: Solved >Re: Trouble making more than 244 simultaneous connections
- Subject: Re: Solved >Re: Trouble making more than 244 simultaneous connections
- From: Quinn <email@hidden>
- Date: Thu, 27 Nov 2008 16:07:58 +0000
At 14:49 -0800 26/11/08, Jens Alfke wrote:
Ouch. You don't need to edit system-wide config files (or affect
every process on the system) to accomplish this. Just run "limit
maxfiles 2048" in the parent process that launches your server. You
can do this by writing a tiny shellscript containing just that
command followed by an invocation of your server's executable file.
Or just call <x-man-page://2/setrlimit> in your main function.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden