[lkml]   [2004]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: is killing zombies possible w/o a reboot?
    On Wednesday 03 November 2004 14:03, Måns Rullgård wrote:
    >Gene Heskett <> writes:
    >> On Wednesday 03 November 2004 12:44, DervishD wrote:
    >>> Hi Gene :)
    >>> * Gene Heskett <> dixit:
    >>>> > Or write a little program that just 'wait()'s for the
    >>>> > specified PID's. That is perfectly portable IMHO. But I must
    >>>> > admit that the preferred way should be killing the parent.
    >>>> > 'init' will reap the children after that.
    >>>> But what if there is no parent, since the system has already
    >>>> disposed of it?
    >>> Then the children are reparented to 'init' and 'init' gets rid
    >>> of them. That's the way UNIX behaves.
    >> Unforch, I've *never* had it work that way. Any dead process I've
    >> ever had while running linux has only been disposable by a reboot.
    >That's because its parent was still sitting around refusing to
    > wait() for them.

    Define 'parent' when it was a click on the apps icon on the xwindow
    screen that started it, please.

    Cheers, gene
    gheskett at wdtv dot com
    99.28% setiathome rank, not too bad for a WV hillbilly
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:07    [W:0.021 / U:4.472 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site