7
1
Whenever I login to shell, I get this error
-bash: fork: Resource temporarily unavailable
-bash-3.2$
I can't seem to execute any command which uses fork()
.
I tried ulimit -u
as it doesn't use fork and it returned 35
. Somehow my max process is set to 35
.
I want to increase that, but I don't know where to make that change.
i tried this
sudo ulimit -u 1000
and it again says fork not avaiable. do i need to execute that as root – user1146320 – 2013-03-02T02:24:47.797Ahh, sudo again requires to fork a process - dang! I guess the only other way is to modify the
limits.conf
by directly logging in asroot
. – Tuxdude – 2013-03-02T02:28:54.377my that file is empty , all lines are comments only – user1146320 – 2013-03-02T02:33:14.747
Yes, then add a newline in that file for the user with the values you're interested. – Tuxdude – 2013-03-02T02:34:33.187
i tried that and its not working , do i need to restart somethingto makethatwork – user1146320 – 2013-03-02T04:46:58.173
The user would at least need to logout completely and login again for the changes to take effect. Yes try restarting the box, if that helps. – Tuxdude – 2013-03-03T06:02:37.497