Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jun 2005 23:36:27 +0800
From:      Jiawei Ye <leafy7382@gmail.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        Peter Jeremy <PeterJeremy@optushome.com.au>, freebsd-current@freebsd.org
Subject:   Re: unkillable apache httpd process
Message-ID:  <c21e92e2050608083621597917@mail.gmail.com>
In-Reply-To: <20050608152610.GG59028@dan.emsphone.com>
References:  <c21e92e205060800524f9d7e89@mail.gmail.com> <20050608091603.GG39114@cirb503493.alcatel.com.au> <c21e92e20506080223235a7364@mail.gmail.com> <20050608152610.GG59028@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/8/05, Dan Nelson <dnelson@allantgroup.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c21e92e2050608083621597917>