changeset 6928:81eb8dbf0e7c

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.
author domruf <dominikruf@gmail.com>
date Tue, 19 Sep 2017 22:44:41 +0200
parents 557fb1f85ca1
children 6a5fb5070765
files kallithea/lib/paster_commands/template.ini.mako
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.</%text>
-listen = 256
+listen = 128
 
 <%text>## Gracefully Reload workers after the specified amount of managed requests</%text>
 <%text>## (avoid memory leaks).</%text>