Date: Wed, 8 Jun 2005 10:26:10 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Jiawei Ye <leafy7382@gmail.com> Cc: Peter Jeremy <PeterJeremy@optushome.com.au>, freebsd-current@freebsd.org Subject: Re: unkillable apache httpd process Message-ID: <20050608152610.GG59028@dan.emsphone.com> In-Reply-To: <c21e92e20506080223235a7364@mail.gmail.com> References: <c21e92e205060800524f9d7e89@mail.gmail.com> <20050608091603.GG39114@cirb503493.alcatel.com.au> <c21e92e20506080223235a7364@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 08), Jiawei Ye said: > On 6/8/05, Peter Jeremy <PeterJeremy@optushome.com.au> wrote: > > On Wed, 2005-Jun-08 15:52:43 +0800, Jiawei Ye wrote: > > >I have a problem with very recent -current. Apache2 when restarted via > > >/usr/local/etc/rc.d/apache2.sh, the httpd process becomes unkillable > > >and consumes quite some CPU cycles. > > What does ps show? For a process to be unkillable, it must be in > PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND > 3794 root 1 77 0 8008K 5572K RUN 0:03 2.29% httpd > I think it's doing something but truss does not show what exactly it's > doing. This is a P3-1.3G, terminal state of the httpd consumes about > 10% in WCPU column. 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. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050608152610.GG59028>