From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 15:36:28 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 8C79216A41C for ; Wed, 8 Jun 2005 15:36:28 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C4A843D53 for ; Wed, 8 Jun 2005 15:36:28 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so475322nzo for ; Wed, 08 Jun 2005 08:36:27 -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=tFCL2IsntxIgrG6KnSZgMc2EQ8S8QNOrARpRw3jogy3535PkD4I/kyd+HL6G+qMinSePndDVKdGexXBxXQFgc/BB5c2eCP/Nq0vv6S1yYcj9732ssJ4d2HvG4Z2NkIDozwOG4SKLJ+33X4DXcwmcJwVX9IuZI3IeypLKKjLcKOM= Received: by 10.36.101.12 with SMTP id y12mr2031208nzb; Wed, 08 Jun 2005 08:36:27 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Wed, 8 Jun 2005 08:36:27 -0700 (PDT) Message-ID: Date: Wed, 8 Jun 2005 23:36:27 +0800 From: Jiawei Ye To: Dan Nelson In-Reply-To: <20050608152610.GG59028@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> 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:36:28 -0000 On 6/8/05, Dan Nelson wrote: > If it's consuming CPU it should be killable. Tried kill -9? If it's > really threaded, "ps lHp 3794" will print what each kernel thread is > doing; maybe only one thread is hung. >=20 > -- > Dan Nelson > dnelson@allantgroup.com kill -9 solves the problem. But the apache2.sh in /usr/local/rc.d cannot restart it properly. root@orion:/home/leafy# /usr/local/etc/rc.d/apache2.sh restart Performing sanity check on apache2 configuration: Syntax OK Stopping apache2. Waiting for PIDS: 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696, 5696 it goes on..... Also, the unkillable has only 1 thread as shown in the top output. Jiawei --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming