Re: Can't kill process

From: Jeff Fisher (jeff+freebsd_at_jeffenstein.org)
Date: 02/24/04

  • Next message: Julian Elischer: "Testers needed: Joe's MFC of USB code"
    Date: Tue, 24 Feb 2004 23:01:51 +0100
    To: freebsd-stable@freebsd.org
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Tue, Feb 24, 2004 at 09:22:35PM +0300, Dmitry Morozovsky wrote:
    >
    > If a process is a zombie (haven't got proc table entry fully defined) or has
    > called blocking system call which is blocked (such as disk read request to bad
    > disk media, or NFS read request to NFS server which is not reachable), then
    > such process is unkillable.

    A process can also end in this state if it's parent does not ignore the
    SIGCHLD and does not call wait(2).

    These zombies are unkillable, but can be cleaned up by killing the parent,
    then init will reap them.

    - --
    jeff@jeffenstein.org http://www.jeffenstein.org/
        Fortune for today:
    Biology grows on you.
    -----BEGIN PGP SIGNATURE-----

    iD8DBQFAO8mML83IkjvyU1oRApKHAKDRiihhBYyzMTk3eE3Vej0ULYKsRACeJMhg
    RR3Or4U6Q/tEU70EzGrHkzY=
    =gB7Z
    -----END PGP SIGNATURE-----
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Julian Elischer: "Testers needed: Joe's MFC of USB code"

    Relevant Pages

    • Re: Why doesnt kill work?
      ... >>Zombie processes are spawned by a parent process that terminates before ... >The signaling you talk about is done by the kernel; ... >>responds and the child will do it's thing, ...
      (Fedora)
    • Re: Why doesnt kill work?
      ... > Zombie processes are spawned by a parent process that terminates before ... The signaling you talk about is done by the kernel; ... > parent/child process to make the child not wait until the parent ...
      (Fedora)
    • Re: what may cause a parent process to defunct (zombie)?
      ... It is the "original parent" that becomes a zombie. ... the original parent, the child (whose PID is in pid), ... Barry Margolin, barmar@xxxxxxxxxxxx ...
      (comp.unix.questions)
    • Re: How to avoid zombie processes?
      ... Without the trick, if the child terminate, and at the moment, ... a little later, the parent calls wait, the child process is not ... a zombie any more and disappear in the ps command. ... actually care about the exit status of the child. ...
      (comp.unix.programmer)
    • Re: init + orphaned processes
      ... No, it is an orphan. ... An orphan is a child with no parent, ... all forground processes which should cause them to terminate. ... A zombie is something or someone that is supposed to be dead but isn't ...
      (comp.unix.admin)