Encountered a problem today
-bash: fork: retry: no child process
Solution
Set the maximum number of processes for each linux user. Below I set the maximum number of processes for a linux user to 10000:
ulimit -u 10000
Actually:
ps -ef|wc -l is only about 2,600