linux -bash: fork: Cannot allocate memory

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

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


echo 1493909 > /proc/sys/kernel/pid_max


执行命令后,系统正常