On Tue, Feb 26, 2008 at 12:41 PM, Tani Hosokawa <[EMAIL PROTECTED]> wrote:
> Under high load, unless you build a dedicated acceptor thread you will
>  find that only allowing a listen backlog of 10 connections will cause
>  lots of attempted connections to simply be dropped if you have any
>  significant amount of processing to do per request.  The reason I put
>  1024 in there is all implementations that I know of silently truncate

I just submitted a change to trunk yesterday that raiseed the limit to 128.

I also added a new API, evhttp_accept_socket(), to which you can
provide an already created fd for which you could set the listen queue
to whatever you like.

Niels.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to