About this list Date view Thread view Subject view Author view Attachment view

From: Bodo Eggert (7eggert_at_gmx.de)
Date: Fri 26 Aug 2005 - 15:45:59 BST


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_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 26 Aug 2005 - 15:46:34 BST by hypermail 2.1.3