Browse Source

Merge pull request #2227 from methane/fix-python-backlog

Decrease backlog to 128
knewmanTE 9 years ago
parent
commit
f6a30aef9b

+ 1 - 1
frameworks/Python/bottle/uwsgi.ini

@@ -2,7 +2,7 @@
 master
 master
 ; Increase listen queue used for nginx connecting to uWSGI. This matches
 ; Increase listen queue used for nginx connecting to uWSGI. This matches
 ; net.ipv4.tcp_max_syn_backlog and net.core.somaxconn.
 ; net.ipv4.tcp_max_syn_backlog and net.core.somaxconn.
-listen = 65535
+listen = 128
 ; for performance
 ; for performance
 disable-logging
 disable-logging
 ; use UNIX sockets instead of TCP loopback for performance
 ; use UNIX sockets instead of TCP loopback for performance

+ 1 - 1
frameworks/Python/flask/uwsgi.ini

@@ -2,7 +2,7 @@
 master
 master
 ; Increase listen queue used for nginx connecting to uWSGI. This matches
 ; Increase listen queue used for nginx connecting to uWSGI. This matches
 ; net.ipv4.tcp_max_syn_backlog and net.core.somaxconn.
 ; net.ipv4.tcp_max_syn_backlog and net.core.somaxconn.
-listen = 65535
+listen = 128
 ; for performance
 ; for performance
 disable-logging
 disable-logging
 ; use UNIX sockets instead of TCP loopback for performance
 ; use UNIX sockets instead of TCP loopback for performance

+ 1 - 1
frameworks/Python/uwsgi/uwsgi.ini

@@ -2,7 +2,7 @@
 master
 master
 ; Increase listen queue used for nginx connecting to uWSGI. This matches
 ; Increase listen queue used for nginx connecting to uWSGI. This matches
 ; net.ipv4.tcp_max_syn_backlog and net.core.somaxconn.
 ; net.ipv4.tcp_max_syn_backlog and net.core.somaxconn.
-listen = 65535
+listen = 128
 ; for performance
 ; for performance
 disable-logging
 disable-logging
 ; use UNIX sockets instead of TCP loopback for performance
 ; use UNIX sockets instead of TCP loopback for performance