From owner-freebsd-current@FreeBSD.ORG Wed Oct 27 12:28:17 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7627C16A4CE for ; Wed, 27 Oct 2004 12:28:17 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 686A443D1D; Wed, 27 Oct 2004 12:28:17 +0000 (GMT) (envelope-from davidxu@freebsd.org) Received: from [127.0.0.1] (davidxu@localhost [127.0.0.1]) i9RCSFIb045743; Wed, 27 Oct 2004 12:28:16 GMT (envelope-from davidxu@freebsd.org) Message-ID: <417F9483.7040003@freebsd.org> Date: Wed, 27 Oct 2004 20:28:51 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.2) Gecko/20041004 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vladimir Grebenschikov References: <1098870425.1062.14.camel@localhost> In-Reply-To: <1098870425.1062.14.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: "current@freebsd.org" Subject: Re: Unkillable process X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 12:28:17 -0000 Can you tell me which revision of sys/kern/kern_exit.c you are using ? Vladimir Grebenschikov wrote: >Hi > >FreeBSD -CURRENT > >After gdb crash on httpd process, process still present, and listen >sockets but it is in T state and can't be killed. > ># ps alxx | fgrep htt > 0 56647 1 0 76 0 5044 2720 - T p9- >0:00.14 /usr/local/sbin/httpd -X ># kill -CONT 56647 ># ps alxx | fgrep htt > 0 56647 1 0 76 0 5044 2720 - T p9- >0:00.14 /usr/local/sbin/httpd -X ># kill -9 56647 ># ps alxx | fgrep htt > 0 56647 1 0 76 0 5044 2720 - T p9- >0:00.14 /usr/local/sbin/httpd -X ># procctl 56647 ># kill -9 56647 ># ps alxx | fgrep htt > 0 56647 1 0 76 0 5044 2720 - T p9- >0:00.14 /usr/local/sbin/httpd -X ># mount /proc ># cat /proc/56647/status >httpd 56647 1 56647 0 5,9 noflags 1098869811,34135 0,119132 0,21623 >nochan 0 0 0,0,0,2,3,4,5,20 - ># > >How to deal with such processes (except reboot ?) > > >