如下,提示資源不足
[root@namenode01 backup]# su - app Last login: Tue Apr 26 09:48:44 CST 2016 from application03 on pts/0 su: failed to execute /bin/bash: Resource temporarily unavailable
解決如下
[root@namenode01 backup]# egrep -v "^$|^#" /etc/security/limits.d/20-nproc.conf * soft nproc 65535 #將默認值1024改為65535 root soft nproc unlimited