# HG changeset patch # User domruf # Date 2017-09-19 22:44:41 # Node ID 81eb8dbf0e7c3c7d5a2fc29f6fb0adadcd5049ac # Parent 557fb1f85ca1239cbdeb95a6f8862feea2c9e91c config: set default uwsgi socket listen queue size to 128 On Linux systems, the socket listen queue size can't be greater than the value of /proc/sys/net/core/somaxconn. On a lot of systems this value is 128. diff --git a/kallithea/lib/paster_commands/template.ini.mako b/kallithea/lib/paster_commands/template.ini.mako --- a/kallithea/lib/paster_commands/template.ini.mako +++ b/kallithea/lib/paster_commands/template.ini.mako @@ -126,7 +126,7 @@ memory-report = true log-5xx = true <%text>## Set the socket listen queue size. -listen = 256 +listen = 128 <%text>## Gracefully Reload workers after the specified amount of managed requests <%text>## (avoid memory leaks).