CentOS Too many open files

打開Terminal提示下列報錯

There was an error creating the child process for this terminal
Failed to create pipe for communicating with
child process (Too many open files)

 

解決方法

vim /etc/security/limits.conf

增加

* soft nofile 8096
* hard nofile 20480

作用在於更改ulimit open files

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章