• 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: Solved >Re: Trouble making more than 244 simultaneous connections
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Trouble making more than 244 simultaneous connections (From: Brian Williams <email@hidden>)
 >Re: Trouble making more than 244 simultaneous connections (From: Eli Bach <email@hidden>)
 >Re: Trouble making more than 244 simultaneous connections (From: Quinn <email@hidden>)
 >Solved >Re: Trouble making more than 244 simultaneous connections (From: Brian Williams <email@hidden>)
 >Re: Solved >Re: Trouble making more than 244 simultaneous connections (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Solved >Re: Trouble making more than 244 simultaneous connections
  • Next by Date: Overlapping requests on multiple persistent connections?
  • Previous by thread: Re: Solved >Re: Trouble making more than 244 simultaneous connections
  • Next by thread: Re: Trouble making more than 244 simultaneous connections
  • Index(es):
    • Date
    • Thread