On Sun, Aug 26, 2012 at 10:06:03PM +0200, Marcel Wijnen <mmfwwij...@gmail.com> 
wrote:
> connections can be accepted at once. Out of 10K connections typically a
> couple of hundred are dropped.

Well, it's not really related to libev, but here are a few things to check:

a) ulimit -n
b) do you run accept in a loop? do you run it fast enough?
c) does accept sometimes return an error, do you check for errors?
d) is your listen queue long enough?

These are the most obvious things that come to my mind.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schm...@schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\

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

Reply via email to