[Ilugc] comfortable ulimit -u value

  • From: ramanraj@xxxxxxxxxxxxxxx (Ramanraj K)
  • Date: Fri, 09 Jan 2004 11:15:02 +0530

Shiva wrote:

In my slack9.1 machine the /etc/login.defs contains a mention of the the 
ULIMIT setting - but is commented out and contains a value of : 
#ULIMIT         2097152

What number should I use that is sane ? 
 

I tried # ulimit -u 20.  This did not allow apache 1.3.12 to serve http 
requests. It also crashed my mozilla browser.  I switched to Apache 
1.3.20, which managed to serve text without graphics at this level, and 
did not crash my browser. # ulimit -u 200 looks reasonable on my system. 
If you have trouble, increase the processes limit.  Programs invoked 
from the shell terminal give feedback when limit is exceeded.  But 
others simply vanish from the screen.  I am not sure if some log keeps 
count of processes. Generally, by trial and error we can find a 
comfortable level that will not hang the system and keep it usable.



Other related posts:

  • » [Ilugc] comfortable ulimit -u value - Ramanraj K