Re: How do I kill a process that is locked to a resource

Tom Zerucha (root@deimos.ceddec.com)
Fri, 20 Dec 1996 16:34:18 -0500 (EST)


On Fri, 20 Dec 1996, joost witteveen wrote:

> Well, I don't know about the -force option, but
> mount -o remount,ro /usr
> usually does the job for me (when I had "rm" processes eating 100%CPU,
> that I couldn't kill).

It might, but it shows that something is hard-locked on the SCSI bus (I
have a smart terminator with lights for req and ack). using kill -9, it
won't kill the process that this has occured on. Sometimes it dies if I
can convince the SCSI bus to abort (usually involves shutting off
something on the SCSI chain).

This is a deadlock condition - I can't unmount the device because a
process owns it, and I can't kill the process because it is stuck in the
middle of a tranfer with the device.

tz@execpc.com
finger tz@execpc.com for PGP key