Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2010 15:13:39 +0200
From:      "C. P. Ghost" <cpghost@cordula.ws>
To:        Joshua Gimer <jgimer@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Too many defunct processes; kill -9 not working
Message-ID:  <AANLkTilVttzE2aAVhKWK9nuab5THZihs1NobjX38OXde@mail.gmail.com>
In-Reply-To: <AANLkTilf72Nl1eBZvkQnWhn2mCUKXlbaDUM70tbeeNi3@mail.gmail.com>
References:  <AANLkTinguZnvQTeA-SCiFqjGSIzejKaaf7_MPdqryN0p@mail.gmail.com> <AANLkTilf72Nl1eBZvkQnWhn2mCUKXlbaDUM70tbeeNi3@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jun 9, 2010 at 2:41 PM, Joshua Gimer <jgimer@gmail.com> wrote:
> On Wed, Jun 9, 2010 at 5:08 AM, Eitan Adler <lists@eitanadler.com> wrote:
>> What can I do to determine why processes are not getting killed by kill -9?
>
> Try attaching to it using truss to see if it will shed some light on the
> reason why the process will not die.

The only reason for zombies is that the parent process doesn't
invoke the wait(2) system call to reclaim their return status.
I'd truss(1) the parent: maybe it is buggy or even stopped (SIGSTOP?).

-- 
Cordula's Web. http://www.cordula.ws/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTilVttzE2aAVhKWK9nuab5THZihs1NobjX38OXde>