Centos 7 進程打開文件句柄設置

查看當前進程設置 #ulimit -a 查看某個進程id 當前打開的文件句柄數: 比如進程id爲9723 # lsof -p 9723 | wc -l 查看該進程的限制 #cat /proc/9723/limits 修改最大打開文件句柄限制: #vim /etc/security/limits.conf 在文件末尾增加如下內容: root soft nofile 65535 root hard n
相關文章
相關標籤/搜索