针对Nginx对Linux系统的优化

vi /etc/security/limits.conf

增加以下面的内容

*               soft    nofile          65535
*               hard    nofile          65535
*               soft    nproc           65535
*               hard    nproc           65535

原文地址:https://www.cnblogs.com/kgdxpr/p/3013591.html