James Y Knight | 7 Sep 2010 16:19

Re: About handling thousands of sockets connections simultaneously

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

Gmane