On Fri, 26 Aug 2005, Helmut Wollmersdorfer wrote:
> Oliver Welter wrote:

> My plan was, to give this context 20% CPU 'soft' (400 x 20% = 100 MHz), 
> 128 MB RSS rlimit, and 500 MB VM rlimit. But if OOM can kill some vital 
> processes, this would need watching the services and restart them by 
> heartbeat.

You should take a look at /proc/$PID/oom_score and /proc/$PID/oom_adj
to make them a worse target and use runit for critical services.

-- 
Top 100 things you don't want the sysadmin to say:
59. Wonder what *this* command does?
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to