系统最大连接
vi /etc/sysctl.conf
net.core.somaxconn = 30000
系统最大打开文件数
vi /etc/security/limits.conf
admin soft nofile 65535
admin hard nofile 65535
参考:http://stackoverflow.com/questions/7557795/django-with-nginx-uwsgi
echo 3000 > /proc/sys/net/core/netdev_max_backlog
echo 3000 > /proc/sys/net/core/somaxconn
vi /etc/sysctl.conf
net.core.somaxconn = 30000
系统最大打开文件数
vi /etc/security/limits.conf
admin soft nofile 65535
admin hard nofile 65535
参考:http://stackoverflow.com/questions/7557795/django-with-nginx-uwsgi
echo 3000 > /proc/sys/net/core/netdev_max_backlog
echo 3000 > /proc/sys/net/core/somaxconn