• shrek_is_love@lemmy.ml
    link
    fedilink
    arrow-up
    9
    arrow-down
    1
    ·
    2 months ago

    All they wanna do is east your brains. They’re not unreasonable; I mean no one’s gonna eat your eyes.

    • thingsiplay@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      2 months ago

      That’s what the video explains as well. Killing the parents will make init adopt and kill the children in the process. Problem is, that you might not want to stop / kill the parent process, depending on what you are doing. One should be very careful of doing so.

      • peterhorvath@mastodon.dedeleted by creator
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        @thingsiplay Sorry you might right! In this case, I would debug the parent process and I would execute the wait() syscalls in its name, but it is hardly autimatizable and probably many people can not do that. Thanks the info!

    • who@feddit.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      To be clear, merely stopping the parent (SIGSTOP) will not do the job. You have to kill or otherwise end it.

    • thingsiplay@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      2 months ago

      But where is the fun then? ;p On a more serous note, yes I agree. In most cases (probably all cases) there should be no need to get rid of zombie processes.