首页 > 代码库 > -bash: fork: retry: Resource temporarily unavailable;centos6.5

-bash: fork: retry: Resource temporarily unavailable;centos6.5

Last login: Wed Jun 18 14:04:11 2014 from 1.1.1.135
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
-bash: fork: retry: Resource temporarily unavailable
^C-bash: fork: Resource temporarily unavailable
-bash-4.1$
-bash-4.1$
-bash-4.1$
-bash-4.1$ pwd
/home/tomcat
-bash-4.1$
-bash-4.1$
-bash-4.1$
==============================

w
pkill -kill -t pts/0
w
pkill -kill -t pts/5
w
pkill -kill -t pts/2
w
pkill -kill -t pts/0
w
pkill -kill -t pts/1
pkill -kill -t pts/4
w
history

# cp /etc/security/limits.d/90-nproc.conf /etc/security/limits.d/90-nproc.conf_save.bak.06.18.2014
# vi /etc/security/limits.d/90-nproc.conf
# su -m -c ‘ulimit -u‘ tomcat