nginx 错误 Too many open files

vim /etc/security/limits.conf

末尾加上以下参数

root soft nofile 65535
root hard nofile 65535
* soft nofile 65535
* hard nofile 65535

 

 

你可能感兴趣的:(linux,nginx)