# HG changeset patch # User domruf # Date 1505853881 -7200 # 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 -r 557fb1f85ca1 -r 81eb8dbf0e7c kallithea/lib/paster_commands/template.ini.mako --- a/kallithea/lib/paster_commands/template.ini.mako Thu Aug 31 22:38:21 2017 +0200 +++ b/kallithea/lib/paster_commands/template.ini.mako Tue Sep 19 22:44:41 2017 +0200 @@ -126,7 +126,7 @@ 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).