From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 15:48:26 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 A718016A430 for ; Wed, 8 Jun 2005 15:48:26 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 539B243D1F for ; Wed, 8 Jun 2005 15:48:26 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id 16so514710nzp for ; Wed, 08 Jun 2005 08:48:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QjTS7NiMxdSua8wce6igDCgJbifuQQIsIfyycQJ9Ao+0yHm7BaNETJ6/SyH+YonpSqQV4BHPOF1VNyfLHSDBMWCatVshP3AJat4yzoEwxd/UObdX+hoG/k1x4nUWxGxSaBCpvBO3+O7RklHaPkhOKLs9cUU5sxy2OB4S4rKtuEE= Received: by 10.36.106.17 with SMTP id e17mr324256nzc; Wed, 08 Jun 2005 08:48:25 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Wed, 8 Jun 2005 08:48:25 -0700 (PDT) Message-ID: Date: Wed, 8 Jun 2005 23:48:25 +0800 From: Jiawei Ye To: Dan Nelson In-Reply-To: <20050608154202.GH59028@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050608091603.GG39114@cirb503493.alcatel.com.au> <20050608152610.GG59028@dan.emsphone.com> <20050608154202.GH59028@dan.emsphone.com> Cc: Peter Jeremy , freebsd-current@freebsd.org Subject: Re: unkillable apache httpd process X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jiawei Ye List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 15:48:26 -0000 On 6/8/05, Dan Nelson wrote: > rc.d scripts just send a SIGTERM to the process by default. If apache > has blocked that signal, there's not much the script can do. What you > could do is edit apache2.sh and add a line saying "sig_stop=3D-KILL", > which will make the shutdown action send a SIGKILL (aka -9) signal to > apache. This won't be a clean shutdown, though. Better to try and > debug apache and find out what it's doing. >=20 > -- > Dan Nelson > dnelson@allantgroup.com I suspect this might be related to -current, since my other 5-stable box does not behave the same way. Anything you would suggest to diagnose this problem? Jiawei --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming