Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2004 13:47:04 +0400
From:      Vladimir Grebenschikov <vova@sw.ru>
To:        "current@freebsd.org" <current@freebsd.org>
Subject:   Unkillable process
Message-ID:  <1098870425.1062.14.camel@localhost>

next in thread | raw e-mail | index | archive | help
Hi

FreeBSD -CURRENT

After gdb crash on httpd process, process still present, and listen
sockets but it is in T state and can't be killed.

# ps alxx | fgrep htt
    0 56647     1   0  76  0  5044 2720 -      T     p9-
0:00.14 /usr/local/sbin/httpd -X
# kill -CONT 56647
# ps alxx | fgrep htt
    0 56647     1   0  76  0  5044 2720 -      T     p9-
0:00.14 /usr/local/sbin/httpd -X
# kill -9 56647
# ps alxx | fgrep htt
    0 56647     1   0  76  0  5044 2720 -      T     p9-
0:00.14 /usr/local/sbin/httpd -X
# procctl 56647
# kill -9 56647
# ps alxx | fgrep htt
    0 56647     1   0  76  0  5044 2720 -      T     p9-
0:00.14 /usr/local/sbin/httpd -X
# mount /proc
# cat /proc/56647/status 
httpd 56647 1 56647 0 5,9 noflags 1098869811,34135 0,119132 0,21623
nochan 0 0 0,0,0,2,3,4,5,20 -
# 

How to deal with such processes (except reboot ?)

-- 
Vladimir B. Grebenschikov
SWsoft Inc. vova@sw-soft.com



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