[Twisted-Python] What is backlog?

Pavel pbastov at gmail.com
Tue Apr 1 06:22:08 EDT 2008

Thanks for the info.

Do you have any ideas on what value to use under small, medium, and high load?

On Tue, Apr 1, 2008 at 4:05 PM, Andreas Kostyrka <andreas at kostyrka.org> wrote:
> Just guessing it's the parameter that gets passed to the listen system
>  call. And that again tells the kernel how many connections to allow to
>  backlog.
>  Citing the listen manpage on Linux:
>        The  backlog  argument  defines  the  maximum length to which the
>  queue of pending connections for sockd may grow.  If a connection
>  request arrives when the queue is full, the client may receive an
>        error with an indication of ECONNREFUSED or, if the underlying
>  protocol supports retransmission, the request may be ignored so that a
>  later reattempt at connection succeeds.
>  Andreas
> _______________________________________________
>  Twisted-Python mailing list
>  Twisted-Python at twistedmatrix.com
>  http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Good luck,

Pavel Bastov
xooChat Team Leader

More information about the Twisted-Python mailing list