-bash: fork: Cannot allocate memory

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了-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的主要内容,如果未能解决你的问题,请参考以下文章

composer proc_open(): fork failed – Cannot allocate memory

redis写磁盘报错Cannot allocate memory

Can't rewrite append only file in background: fork: Cannot allocate memory

安装composer后报错proc_open(): fork failed - Cannot allocate memory

runtime/cgo: pthread_create failed: Resource temporarily unavailable or fork: Cannot allocate mem

tomcat 启动报错 Cannot allocate memory