码迷,mamicode.com
首页 > 其他好文 > 详细

-bash: fork: Cannot allocate memory

时间:2017-07-21 15:50:55      阅读:283      评论:0      收藏:0      [点我收藏+]

标签:-bash: fork: cannot allocate memory

linux -bash: fork: Cannot allocate memory

执行命令显示: -bash: fork: Cannot allocate memory

排查发现原因:系统的pid_max不够用了


echo 1493909 > /proc/sys/kernel/pid_max


执行命令后,系统正常

本文出自 “kan” 博客,请务必保留此出处http://12899802.blog.51cto.com/12889802/1949639

-bash: fork: Cannot allocate memory

标签:-bash: fork: cannot allocate memory

原文地址:http://12899802.blog.51cto.com/12889802/1949639

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!