Re: prevent runaway PID taking down server (RAM/swap)

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



On Wed, 2008-07-23 at 14:36 -0400, Ed Donahue wrote:
> Is there a way I can prevent processes from taking up all the ram then
> swap until the box crashes/freezes?

If the process is started from bash, whther by hand or script, I would
think that bash's "ulimit" builtin would give what you need? "man
bash", /ulimit

To prevent a process from running wild, it would have to be non-root
user I guess.

> 
> I'm using IEs4Linux and the wineserver seems to start taking up RAM
> until my box dies, it happens slowly.
> 
> <snip>

-- 
Bill


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux