Can't kill hung remote CP copy

Patrick O'Callaghan pocallaghan at gmail.com
Sat Apr 14 18:19:25 UTC 2012


On Sat, 2012-04-14 at 23:14 +0800, Ed Greshko wrote:
> On 04/14/2012 10:54 PM, Hal wrote:
> >
> >
> > On 4/14/2012 8:08 AM, suvayu ali wrote:
> >> On Fri, Apr 13, 2012 at 21:09, Andrew Gray<andrewg at linnetsol.co.uk>  wrote:
> >>> Again how do you kill a  cp in UNINTERRUPTIBLE SLEEP !!!
> >> I'll repeat myself: "The only way to get rid of these processes is to
> >> wait or reboot."
> >>
> >
> > Pardon my stupidity, if you can observe ot determine the process number for the cp
> > operation it appears one could use 'kill' and one of its options to remove the
> > process.
> >
> >
> 
> Ahhhh.....no....
> 
> When you do a "kill" you are sending a "signal" to a process and that process will
> act upon it depending on the signal.  For example, if you did a "kill -1" to the
> named process it will cause it to reread its configuration files and zone files.
> 
> Whatever process you send the kill to must be in a state where it can receive and
> process the signal.

Exactly. The correct view of "kill -9" is not that you kill the process
but that you order the process to commit suicide. If it's not listening,
no amount of shouting is going to make a difference.

poc



More information about the users mailing list