[Twisted-Python] What is backlog?

Andreas Kostyrka andreas at kostyrka.org
Tue Apr 1 04:05:43 MDT 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: </pipermail/twisted-python/attachments/20080401/5a18628b/attachment.sig>


More information about the Twisted-Python mailing list