From owner-freebsd-questions@FreeBSD.ORG Wed Jun 9 13:13:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA3EA1065680 for ; Wed, 9 Jun 2010 13:13:40 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 5844C8FC12 for ; Wed, 9 Jun 2010 13:13:39 +0000 (UTC) Received: by ewy24 with SMTP id 24so2569928ewy.34 for ; Wed, 09 Jun 2010 06:13:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.112.144 with SMTP id w16mr1316467ebp.85.1276089219121; Wed, 09 Jun 2010 06:13:39 -0700 (PDT) Received: by 10.213.27.211 with HTTP; Wed, 9 Jun 2010 06:13:39 -0700 (PDT) X-Originating-IP: [93.203.38.225] In-Reply-To: References: Date: Wed, 9 Jun 2010 15:13:39 +0200 Message-ID: From: "C. P. Ghost" To: Joshua Gimer Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Too many defunct processes; kill -9 not working X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2010 13:13:40 -0000 On Wed, Jun 9, 2010 at 2:41 PM, Joshua Gimer wrote: > On Wed, Jun 9, 2010 at 5:08 AM, Eitan Adler 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/