On Mon, Aug 27, 2012 at 06:59:39AM +0200, Marc Lehmann wrote:
> d) is your listen queue long enough?

On Linux, remember that the listen queue lenght is limited by the kernel
parameter net.core.somaxconn (to 128 by default).  You need to increase it
before you call listen (hence restart your server, or at least reopen the
socket, each time you change it).

The same is true on *BSD/MacOS but I don't know the name of the variable, or
whether it is tunable.  On Windows, the length of the queue varies dynamically
to prevent flooding attacks (or so they say), and you have absolutely no way to
control it.

Kind regards,
-- 
Gabriel

_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to