OOM-killer prevention for master kdeinit process

Allan Sandfeld Jensen kde at carewolf.com
Fri Aug 4 14:14:42 BST 2006


On Friday 04 August 2006 11:42, Lubos Lunak wrote:
> 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.

When is exit status needed? Just for kded and klauncher to relaunch or always?

`Allan




More information about the kde-core-devel mailing list