Re: About handling thousands of sockets connections simultaneously
James Y Knight <[email protected]>
| Newsgroups | gmane.comp.python.twisted.web |
|---|---|
| Message-ID | <[email protected]> |
On Sep 7, 2010, at 9:35 AM, Arvin Wang wrote: > it seems that just choosing different reactor couldn't solve the problem, can you give some more suggestions? Check "ulimit -n": some systems set it to be very low by default. E.g. it's set to 1024 on my system. That means I can't use more than 1024 file descriptors in a process. Check if yours is similarly low. James