[Ilugc] ulimit -u 200 terminated fb successfully

  • From: ramanraj@xxxxxxxxxxxxxxx (Ramanraj K)
  • Date: Fri, 09 Jan 2004 10:18:31 +0530

Suraj wrote:

its ulimit -u for setting the user process limits.

Now it worked fine:

# ulimit -u 200   #limit
# ulimit -a       #just checking the settings
# . . /_          #trying the fb
bash: fork: Resource temporarily unavailable

[1]   Terminated              . ./_
[2] to [24]-     -do-
[25]+  Terminated              . ./_ 

{-:fb defused successfully:-}


Why not just see the ulimit -u value?

if [ "`ulimit -u`" -gt "`cat /usr/local/etc/max_ulimit`" ]; then
 echo "you aren't safe"
fi

 

This may also do:

# ulimit -a


Thanks again.
Regards,
Ramanraj.




Other related posts:

  • » [Ilugc] ulimit -u 200 terminated fb successfully - Ramanraj K