Browse Source

revert somaxconn.

INADA Naoki 11 years ago
parent
commit
dc61744353
2 changed files with 1 additions and 3 deletions
  1. 1 2
      config/uwsgi.ini
  2. 0 1
      toolset/setup/linux/installer.py

+ 1 - 2
config/uwsgi.ini

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

+ 0 - 1
toolset/setup/linux/installer.py

@@ -43,7 +43,6 @@ class Installer:
     self.__run_command("cat ../config/benchmark_profile >> ../../.bashrc")
     self.__run_command("source ../../.profile")
     self.__run_command("sudo sh -c \"echo '*               -    nofile          65535' >> /etc/security/limits.conf\"")
-    self.__run_command("sudo sysctl -w net.core.somaxconn=1024")
 
     ##############################################################
     # System Tools