[Prev][Next][Index][Thread]

Re: Protecting the system



gibi@actcom.co.il wrote:
>  Is there a way to limit the number of tasks and memory usage a user 
>  can use in Linux ?
>  
>  I run a test program that did fork after fork with a lot of mallocs, 
>  and the system almost hanged out.
>  
>  How can I limit this so the system will continue working ?

In tcsh: limit
In bash: help ulimit

Evgeny


--
   ____________________________________________________________
  / Evgeny Stambulchik  <fnevgeny@plasma-gate.weizmann.ac.il>  \
 /  Plasma Laboratory, Weizmann Institute of Science, Israel \  \
 |  Phone : (972)8-9343-610  == | == FAX   : (972)8-9344-106 |  |
 |  URL   :    http://plasma-gate.weizmann.ac.il/~fnevgeny   |  |
 |  Finger for PGP key >=====================================+  | 
 |______________________________________________________________| 


References: