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 ammar2, giampaolo.rodola, njs, vstinner, yselivanov
Date 2019-12-09.14:11:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575900696.83.0.450110121818.issue38699@roundup.psfhosted.org>
In-reply-to
Content
> https://github.com/python-trio/trio/blob/master/trio/_highlevel_open_tcp_listeners.py

Extract:

# A large backlog can also use a bit more kernel memory, but this seems fairly
# negligible these days.

That's the main question here. Python is used on various platforms for various use cases.

Extract of the current C code:

    /* We try to choose a default backlog high enough to avoid connection drops
     * for common workloads, yet not too high to limit resource usage. */
    int backlog = Py_MIN(SOMAXCONN, 128);

Maybe the status quo is just fine and this issue should be closed. It's trivial to override the default. This issue is stricted to the *default* value.
History
Date User Action Args
2019-12-09 14:11:36vstinnersetrecipients: + vstinner, giampaolo.rodola, njs, yselivanov, ammar2
2019-12-09 14:11:36vstinnersetmessageid: <1575900696.83.0.450110121818.issue38699@roundup.psfhosted.org>
2019-12-09 14:11:36vstinnerlinkissue38699 messages
2019-12-09 14:11:36vstinnercreate