OOM-killer prevention for master kdeinit process

Lubos Lunak l.lunak at suse.cz
Fri Aug 4 10:42:45 BST 2006


On Friday 04 August 2006 11:13, Lubos Lunak wrote:
> On Thursday 03 August 2006 16:51, Josef Weidendorfer wrote:
> > Hmmm.... just a idea:
> > Why is kdeinit not doing 2 forks to get rid of the parent relationship?
>
>  It actually does, except for the case when it gets requests from
> klauncher, and that was rather hard to spot.
>
> > This should help the OOM score a lot, and I see no bad thing in having
> > init as parent for most KDE apps. Or am I missing something?
>
>  No, that indeed looks like the right solution :). I'll just need to make
> the extra fork doesn't break things.

 Ok, it does break things. The parent relationship is needed for things like 
exit status.

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak at suse.cz , l.lunak at kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/




More information about the kde-core-devel mailing list