Answers for "bash: fork: Cannot allocate memory"

0

bash: fork: Cannot allocate memory

echo 1 > /proc/sys/kernel/sysrq
echo f > /proc/sysrq-trigger
echo 0 > /proc/sys/kernel/sysrq

echo 2048000 > /proc/sys/kernel/threads-max
echo 6000000 > /proc/sys/vm/max_map_count
echo 2048000 > /proc/sys/kernel/pid_max

sysctl vm.overcommit_memory=0
Posted by: Guest on September-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language