[ale] kill an unkillable ?

cfowler cfowler at outpostsentinel.com
Tue Dec 10 15:58:54 EST 2002


attach to the process using strace or gdb and see where it is blocking.
I bet it is blocking in one of the following functions:

read()
write()
open()
close()
ioctl()


On Tue, 2002-12-10 at 15:53, cfowler wrote:
> Usually you can not kill p process that is blocking in I/O and something
> is worng.  I would assume that the program issued a syscall() and some
> code in the driver got screwed.
> 
> There is usually only one way to kill this type of process.
> 
> Hit the "reset" switch also known as the kill the unkillable switch.
> 
> On Tue, 2002-12-10 at 15:44, Robert L. Harris wrote:
> > 
> > 
> > Any way to overwrite/modify something in /proc/<PID> ?   I'd rather not
> > mess with the device as it's devfs and some odd things can happen.
> > 
> > Thus spake James P. Kinney III (jkinney at localnetsolutions.com):
> > 
> > > Subject: Re: [ale] kill an unkillable ?
> > > From: "James P. Kinney III" <jkinney at localnetsolutions.com>
> > > To: Atlanta Linux "User Group (E-mail)" <ale at ale.org>
> > > Organization: 
> > > X-Mailer: Ximian Evolution 1.2.0 
> > > Date: 10 Dec 2002 15:23:35 -0500
> > > 
> > > <shudder> Legato </shudder>
> > > 
> > > If kill -9 won't unlock it, short of directly overwriting the RAM
> > > address locked by legato, a reinit will be required.
> > > 
> > > telinit <current runlevel> _might_ give init the power to drop it
> > > without rebooting the box.
> > > 
> > > You could also try removing the /dev/nst2 and remaking it.
> > > 
> > > On Tue, 2002-12-10 at 14:06, Robert L. Harris wrote:
> > > >   I've got a legato network thread locked into /dev/nst2.  Sucker is
> > > > aparantly lost in space.  If I do an "fuser /dev/nst2" it gives the pid,
> > > > a kill -9 does nothing.  
> > > > 
> > > >   Any way to kill one of these processes other than to reboot?  It's
> > > > getting rather common on this guy.
> > > > 
> > > > 
> > > > :wq!
> > > > ---------------------------------------------------------------------------
> > > > Robert L. Harris                     | PGP Key ID: FC96D405
> > > >                                
> > > > DISCLAIMER:
> > > >       These are MY OPINIONS ALONE.  I speak for no-one else.
> > > > FYI:
> > > >  perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> > > > 
> > > > _______________________________________________
> > > > Ale mailing list
> > > > Ale at ale.org
> > > > http://www.ale.org/mailman/listinfo/ale
> > > -- 
> > > James P. Kinney III   \Changing the mobile computing world/
> > > President and CEO      \          one Linux user         /
> > > Local Net Solutions,LLC \           at a time.          /
> > > 770-493-8244             \.___________________________./
> > > 
> > > GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) <jkinney at localnetsolutions.com>
> > > Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7 
> > > 
> > > 
> > 
> > 
> > 
> > 
> > 
> > :wq!
> > ---------------------------------------------------------------------------
> > Robert L. Harris                     | PGP Key ID: FC96D405
> >                                
> > DISCLAIMER:
> >       These are MY OPINIONS ALONE.  I speak for no-one else.
> > FYI:
> >  perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> > 
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale


_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list