Operating System - HP-UX
1820699 Members
2447 Online
109627 Solutions
New Discussion юеВ

fuser -k will not kill off process

 
lawrenzo
Trusted Contributor

fuser -k will not kill off process

Hello,

When writing a file to a device - the process hung and I cannot release the drive:

root @ hp38 : fuser -u /dev/rmt/14m
/dev/rmt/14m: 13359o(root)

root @ hp38 : fuser -k /dev/rmt/14m
/dev/rmt/14m: 13359o

root @ hp38 : fuser -u /dev/rmt/14m
/dev/rmt/14m: 13359o(root)

I attempted to kill the process and this still will not work.

can someone help.

thanks
hello
7 REPLIES 7
Pete Randall
Outstanding Contributor

Re: fuser -k will not kill off process

This is pretty typical. When waiting for an I/O to complete, the kernel puts the process in a wait state. Until the kernel gets the interrupt telling it that the I/O is completed, the process is stuck there - you can't kill it. Unless you can figure out how to get the I/O to complete, you're not going to be able to get rid of this process without rebooting.


Pete

Pete
Dave Hutton
Honored Contributor

Re: fuser -k will not kill off process

If you ps -ef | grep 13359 what is the process?

Dave
lawrenzo
Trusted Contributor

Re: fuser -k will not kill off process

the process has now died - it took some time
hello
lawrenzo
Trusted Contributor

Re: fuser -k will not kill off process

thanks you
hello
Sridhar Bhaskarla
Honored Contributor

Re: fuser -k will not kill off process

Hi Lawrenzo,

Pete had the perfect answer. It might have not solved (and there is no magical answer to it) your issue immediately but it explained exactly why the process *took sometime* to die.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
lawrenzo
Trusted Contributor

Re: fuser -k will not kill off process

further investigation showed the follwoing in the syslog.log

Mar 2 14:17:18 hp38 vmunix: SCSI TAPE: dev = 0xcd171000 I/O error during close

does this mean there are scsi errors to the tape (the drive is inside a robot)

ioscan shows the tape as claimed
hello
Rory R Hammond
Trusted Contributor

Re: fuser -k will not kill off process


Your process didn't die immediatly because the tape was probably rewinding. When the rewind completed the process died. Processes on tapes ussually takes a while to die.
The syslog entry sounds pretty normal for an interrupted tape process

Rory
There are a 100 ways to do things and 97 of them are right