From owner-freebsd-questions@FreeBSD.ORG Thu Oct 6 13:48:12 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CFF2A16A41F for ; Thu, 6 Oct 2005 13:48:12 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail24.sea5.speakeasy.net (mail24.sea5.speakeasy.net [69.17.117.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 687B643D6E for ; Thu, 6 Oct 2005 13:48:12 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 18191 invoked from network); 6 Oct 2005 13:48:11 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail24.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Oct 2005 13:48:11 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 27F522D; Thu, 6 Oct 2005 09:48:10 -0400 (EDT) Sender: lowell@be-well.ilk.org To: "Duncan Drury" References: <002e01c5c98e$57043640$1101a8c0@DunxD> From: Lowell Gilbert Date: 06 Oct 2005 09:48:10 -0400 In-Reply-To: <002e01c5c98e$57043640$1101a8c0@DunxD> Message-ID: <443bne21ut.fsf@be-well.ilk.org> Lines: 13 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: [freebsd-questions] PID 0 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: Thu, 06 Oct 2005 13:48:12 -0000 "Duncan Drury" writes: > I am having a problem with Apache/PHP that results in Apache running as PID 0, which I cannot kill without restarting the server (or rather I don't know how else to do it). > > I am running FreeBSD 5.2, with Apache 1.3.33 and PHP5.0.5. > > Firstly does anyone know of a way to get rid of processes running as PID 0 without a reboot? Would cut the diagnosis of this problem in two. > > Secondly, is PID 0 in FreeBSD 5.2 something special or the mark of an error. > > I think the root of the bug is with PHP, and am following that up on the appropriate mailing list. If anyone else has come across something like this I'd be interested to hear. PID 0? Really? As in the first column of "ps -ax"?