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

Re: Bug#126750: klogd should optionally be started from init(8)



On Sun, Dec 30, 2001 at 01:43:49AM +0100, Russell Coker wrote:
> > Let's face it folks: if the OOM killer hits you constantly you have
> > exhausted your resources.  The solution is to buy new resources, not to
> > invent convoluted schemes to make a bad situatation last longer.
> 
> There are other options.  You could have a root-only syscall which says 
> "don't kill me" to go with the root-only syscall for "don't page me out".

Yes, i thought about it for a while and it looks like it is a good idea
to protect essential daemons. And you would need a user-land tool as well
or any daemon to be protected needs to be patched to use this syscall (which
IMHO is a bad idea as well since the local admin looses control about that
decision). And  init is protected anyhow and as some other people already
remarked you can easily use init to respawn dying processes (which defeats
the purpose of the OOM killer to some extend unless it kills the respawned
processes fast enough to trigger the timeout period for this process).

But the fundamental problem is not solved: if you run out of resources,
you need to add resources. Nothing else will help you.

As you can perhaps tell from my infrequent contributions to debian-devel:
i am a firm believer in the KISS principle... 

Dominik Kubla
-- 
ScioByte GmbH    Zum Schiersteiner Grund 2     55127 Mainz (Germany)
Phone: +49 700 724 629 83                    Fax: +49 700 724 629 84
1024D/717F16BB    A384 F5F1 F566 5716 5485  27EF 3B00 C007 717F 16BB



Reply to: