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

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



On Sat, Dec 29, 2001 at 11:02:39PM -0200, Henrique de Moraes Holschuh wrote:

> Such a table should not (and needs not) to benefit processes running by
> someone else than root, unless you wanted to do such a thing on purpose and
> coded it like that.  Root processes already have a much lesser probability
> of being killed. If I want a table to fix the issue with the ordering
> on time of two or three processes, I would need to be quite stupid to do
> something that screwed up the OOM balancing so much that users would start
> naming their processes syslog or named to avoid them being killed.

So you are proposing to run all kind of daemons as root to avoid them
being hit by the OOM killer early?

Resilience also means to have each process run with the minimum
priviledges it needs. Running daemons as root when they need not
certainly does not increase resilience.

The proposal of a syscall to prevent a process from being hit by the OOM
killer early is certainly a better idea. Especially since you can use
POSIX capabilities to safeguard the call.

But the easiest and best solution for the OOM problem is still to add the
needed resources. And that ain't going to change no matter how sophisticated
the OOM killer gets in selecting the order to kill processes.

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: