Error: too many open files之ulimt

#supervisorctl status

too many open files

解决:1. 在/etc/security/limits.conf末尾增加:

#open files(-n)

* soft nofile 65536

* hard nofile 65536

#max user processes(-u)

* soft nproc 65565

* hard nproc 65565

2.重启服务器。

结束。

posted @ 2021-10-12 14:59  巴州夜雨  阅读(45)  评论(0)    收藏  举报