problem to kill -KILL process
Коньков Евгений
kes-kes at yandex.ru
Sat Jan 21 13:19:16 UTC 2012
Здравствуйте, Frank.
Вы писали 21 января 2012 г., 11:24:59:
FS> On Fri, Jan 20, 2012 at 11:24:21PM +0200, ??????? ??????? wrote:
>>
>> Hi
>>
>> # ps ax|grep rad
>> 45471 ?? T<Ls 263:35.44 /usr/local/sbin/radiusd
>> 26473 1 S+ 0:00.00 grep rad
>> flux# date
>> Fri Jan 20 23:20:28 UTC 2012
>> flux# kill -KILL 45471
>> flux# date
>> Fri Jan 20 23:20:41 UTC 2012
>> flux# kill -KILL 45471
>> flux# date
>> Fri Jan 20 23:20:54 UTC 2012
>> flux# 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
>>
>> How to kill process without reboot?
>>
FS> Doesn't radius have a script in /usr/local/etc/rc.d?
FS> If so use that to stop it rather than KILLing it. E.g:
FS> # /usr/local/etc/rc.d/radiusd stop
despite on it uses standart rc.subr, which says:
# stop if ${pidfile}
# rc_pid=$(check_pidfile $pidfile $command)
# else
# rc_pid=$(check_process $command)
# kill $sig_stop $rc_pid
# wait_for_pids $rc_pid
# ($sig_stop defaults to TERM.)
in other words: kill -TERM 45471 in my case
FS> or something like that.
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.
--
С уважением,
Коньков mailto:kes-kes at yandex.ru
More information about the freebsd-questions
mailing list