Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   Options to stop processes that can't be killed -9 other than reboot (http://www.linux-archive.org/red-hat-linux/564309-options-stop-processes-cant-killed-9-other-than-reboot.html)

sunhux G 08-15-2011 02:53 AM

Options to stop processes that can't be killed -9 other than reboot
 
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@xxxdgjt1 ~]# netstat -antp | grep 25618
tcp 21 0 172.17.1.47:5555 172.17.12.12:2128
CLOSE_WAIT 25618/vbda
[root@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

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 01:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.