Issue :
Sometimes jailshell users [cPanel] face the following problem when they SSH in to their home directories :
root@server[~]# su – username
-jailshell: fork: Resource temporarily unavailable
-jailshell-3.00$
-jailshell-3.00$ ls
-jailshell-3.00$Resource temporarily unavailable
Fix :
Run the following as root :
for i in `ps aux | grep username | awk ‘{print $2}’`; do kill -9 $i; done
for i in `cat /proc/mounts | grep username | awk ‘{print $2}’`; do umount $i; done
This should fix the problem in most cases. Remember to replace “username” with the actual user name.