bash:fork:Resource temporarily unavailable
1、[root@server]# echo -ne "* soft nofile 102400忮氽阝另* hard nofile 102400* soft noproc 10240* hard noproc 10240" >>/etc/security/limits.conf
2、使用ssh再次登录就可以生效
3、注1:统计打开进程数量#ps -ef |wc -c
4、注2:统计进程打开文件的句柄数量# lsof -n | awk '{pri艘绒庳焰nt $2}'| sort | un足毂忍珩iq -c | sort -nr | grep过滤条件其中第一列是打开的句柄数,第二列是进程ID。
5、注3:统计线程数#pstree -p | wc -l
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:24
阅读量:52
阅读量:79
阅读量:84
阅读量:84