This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, pitrou, sbt, vstinner
Date 2014-05-12.22:18:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
An article suggests to use max(1024, socket.SOMAXCONN) (to "listen() backlog as large as possible") instead of socket.SOMAXCONN because the OS maximum can be larger than SOMAXCONN (and that it's not possible in Python to get the OS value):

The following article tries to explain why the default limit is 128 on Linux:

Article giving the value chosen by Windows when SOMAXCONN is passed: it depends on the Windows version (between 5 and 50, hard limit of 200 on Windows 7):
Date User Action Args
2014-05-12 22:18:22vstinnersetrecipients: + vstinner, pitrou, neologix, sbt
2014-05-12 22:18:22vstinnersetmessageid: <>
2014-05-12 22:18:22vstinnerlinkissue21455 messages
2014-05-12 22:18:22vstinnercreate