Options to stop processes that can't be killed -9 other than reboot
sunhux G
sunhux at gmail.com
Mon Aug 15 02:53:45 UTC 2011
Hi
I have 2 processes (shown by ps -ef below) which has 'jammed' the tape
drive below & I can't "kill -9" them.
Is there any way short of reboot to stop them, say "service xxx restart" or
anything else other than rebooting this Linux 4.x server? Since reboot
involves doing "service stop xxx" of various services, surely one of the
xxx must be able to stop the processes (just an educated guess). We
faced this issue with our Dataprotector quite often so frequent reboot
is not an option.
# ps -ef |grep -i bma |grep -v grep
root 10197 1 0 Aug13 ? 00:00:08 /opt/omni/lbin/vbda
-bmaname HP:Ultrium 4-SCSI_4 -type 2 -start 1313175661 -level 0
-access 1 0 -protection 2 1209600 -name / -ma xxxdgjt1.ss.de 22000 -id
1313175612 -volume / -profile -no_lock -hlink -no_touch -no_encode
-no_expand_sparse -no_nwuncompress -no_compress -no_preview -profile
-report 0 -on_busy 2 -no_nthlink -archattr -share_info -objname 02
xxxdgjt1.ss.de:/ // / -no_aligned
root 23303 1 0 Aug13 ? 00:00:03 /opt/omni/lbin/vbda
-bmaname HP:Ultrium 4-SCSI_1 -type 2 -start 1313192083 -level 0
-access 1 0 -protection 2 1209600 -name / -ma xxxdgjt1.ss.de 22000 -id
1313192026 -volume / -profile -no_lock -hlink -no_touch -no_encode
-no_expand_sparse -no_nwuncompress -no_compress -no_preview -profile
-report 0 -on_busy 2 -no_nthlink -archattr -share_info -objname 02
xxxdgjt1.ss.de:/ // / -no_aligned
root 25618 1 0 Aug13 ? 00:00:03 /opt/omni/lbin/vbda
-bmaname HP:Ultrium 4-SCSI_1 -type 2 -start 1313195066 -level 0
-access 1 0 -protection 2 1209600 -name / -ma xxxdgjt1.ss.de 22000 -id
1313195016 -volume / -profile -no_lock -hlink -no_touch -no_encode
-no_expand_sparse -no_nwuncompress -no_compress -no_preview -profile
-report 0 -on_busy 2 -no_nthlink -archattr -share_info -objname 02
xxxdgjt1.ss.de:/ // / -no_aligned
they're listening on the Tcp ports :
[root at xxxdgjt1 ~]# netstat -antp | grep 25618
tcp 21 0 172.17.1.47:5555 172.17.12.12:2128
CLOSE_WAIT 25618/vbda
[root at xxxdgjt1 ~]# netstat -antp | grep 23303
tcp 21 0 172.17.1.47:5555 172.17.12.12:2073
CLOSE_WAIT 23303/vbda
fuser all other partitions do not show processes locking/opening files, only the
root (ie / ) partition :
# fuser / |grep 25618 ==> will show 25618 & 25618r as amongst the processes
# fuser / |grep 23303 ==> will show 23303 & 23303r as amongst the processes
# cd /etc
# ls */*omni*
xinetd.d/omni
opt/omni:
client server
More information about the redhat-list
mailing list