[Twisted-web] About handling thousands of sockets connections simultaneously
James Y Knight
foom at fuhm.net
Tue Sep 7 10:19:22 EDT 2010
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.
More information about the Twisted-web