Re: Immortal process - ps stat 'T'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 10 July 2003 08:33, John Haxby wrote:
> Neil Bird wrote:
> >   But I can 'kill -9' any stopped process that I actually stop myself
> > (with 'kill -STOP' or <Ctrl-Z>) without 'kil -CONT', so why was this
> > one different?
>
> Because it's traced its asleep in the kernel.   kill -9 wakes the
> process up and then bangs it over the head, but if it's stuck in
> ptrace() is can't without the debuggers say or or having been explicitly
> continued.   I think.  It's too hot.
>

I ran into this problem once. Just run "strace" and attach it to the process. 
If you have already sent "kill -9" to it, the process will die the instant 
strace starts to trace it.

- -- 
Jonathan Gardner <jgardner@xxxxxxxxxxxxxxxxxxx>
(was jgardn@xxxxxxxxxxxxxxxxxxxxx)
Live Free, Use Linux!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/DtcrWgwF3QvpWNwRAtIVAJwK7Qw88Bw+LUpxttC1QBWhCQr0RgCZAWdy
NA5/pN4OGBwytn6UbAIszOE=
=hREO
-----END PGP SIGNATURE-----




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux