bash:fork:Resource temporarily unavailable

 时间:2026-02-14 23:25:35

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 '{print $2}'| sort | uniq -c | sort -nr | grep  过滤条件

其中第一列是打开的句柄数,第二列是进程ID。

5、注3:统计线程数

# pstree -p | wc -l

  • 怎么生成带壳截图
  • 怎么查看绝地求生steam账户是否被封?
  • iwatch自动调节亮度如何关闭
  • 苹果Swift编程教程
  • s8 lol英雄联盟怎么保存并使用自己喜欢的符文
  • 热门搜索
    汽车怎么漂移 鸡蛋做法大全 蝴蝶简笔画大全 女孩起名字大全 吉他图片大全 金岳霖简介 天王表怎么查真伪 财位怎么找 槐角丸治痔疮怎么样 灯具图片大全