Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2012 18:48:29 GMT
From:      Eugen Konkov <kes-kes@yandex.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/164526: 'kill' can not kill process despite on -KILL 
Message-ID:  <201201261848.q0QImTYE087047@red.freebsd.org>
Resent-Message-ID: <201201261850.q0QIo69n056235@freefall.freebsd.org>

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

>Number:         164526
>Category:       misc
>Synopsis:       'kill' can not kill process despite on -KILL
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 26 18:50:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Eugen Konkov
>Release:        9.0-CURRENT
>Organization:
ISP FreeLine
>Environment:
# uname -a
FreeBSD 9.0-CURRENT FreeBSD 9.0-CURRENT #4: Fri Jun 10 01:30:12 UTC 2011     :/usr/obj/usr/src/sys/PAE_KES  i386

>Description:
man kill
.....
     Some of the more commonly used signals:
.....
     9       KILL (non-catchable, non-ignorable kill)

Standart tool do not do its job. It can not stop/kill processes.


>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
 >> # ps ax|grep rad
 >> 45471  ??  T<Ls   263:35.44 /usr/local/sbin/radiusd
 >> 26473   1  S+       0:00.00 grep rad
 >> # date
 >> Fri Jan 20 23:20:28 UTC 2012
 >> # kill -KILL 45471
 >> # date
 >> Fri Jan 20 23:20:41 UTC 2012
 >> # kill -KILL 45471
 >> # date
 >> Fri Jan 20 23:20:54 UTC 2012
 >> # kill -KILL 45471
 >> 
 >> 
 >> top
 >>     9 root        16    -     0K     8K syncer  2   7:12  0.00% syncer
 >> 45471 freeradius  20  -20   311M   283M STOP    0   3:38  0.00% {radiusd}
 >> 49114 root        21    0 10460K  4240K select  0   2:43  0.00% zebra
 
 # date
 Thu Jan 26 20:45:17 UTC 2012
 # ps ax | grep rad
 45471  ??  T<Ls   263:35.44 /usr/local/sbin/radiusd
 22879   1  R+       0:00.00 grep rad
 
 
 #top
 last pid: 23814;  load averages:  4.83,  5.42,  5.37                                                                               up 15+04:54:35  20:46:28
 242 processes: 10 running, 211 sleeping, 3 stopped, 17 waiting, 1 lock
 CPU 0:  3.4% user,  0.0% nice, 20.7% system, 55.2% interrupt, 20.7% idle
 CPU 1: 12.1% user,  0.0% nice, 10.3% system, 58.6% interrupt, 19.0% idle
 CPU 2:  3.4% user,  0.0% nice,  8.6% system, 62.1% interrupt, 25.9% idle
 CPU 3:  1.7% user,  0.0% nice,  5.2% system, 75.9% interrupt, 17.2% idle
 Mem: 842M Active, 2509M Inact, 335M Wired, 151M Cache, 112M Buf, 61M Free
 Swap: 4096M Total, 103M Used, 3993M Free, 2% Inuse
 
 ........
 45471 freeradius  20  -20   311M   197M STOP    3   1:52  0.00% {radiusd}
 
 
 if radiusd is locked, how to kill locked process???
 if 'kill -KILL' is non-catchable and  non-ignorable kill, 
 allow 'kill -KILL' to kill locked processes.
 



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