Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Process will not die
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Tue Sep 07, 2004 5:10 pm    Post subject: Process will not die Reply with quote

So, once there was the immortal process... and that was the problem. I have tried using top to kill the PID, as well as "Kill pid" from the command line. The process is running, has not zombied, and according to its status in top, should not be awaiting input. If anyone has any ideas, I would appreciate it.
Back to top
View user's profile Send private message
piffle
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2004
Posts: 98

PostPosted: Tue Sep 07, 2004 5:27 pm    Post subject: Reply with quote

What state does top actually report? If you see a "D" then the process is in the "uninterruptible sleep" state. There is no way to kill such a process short of a reboot.

Well, I guess you could attach a kernel debugger or something and futz with the process table by hand, but. . . you get the idea.
Back to top
View user's profile Send private message
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Tue Sep 07, 2004 5:35 pm    Post subject: Reply with quote

Nope. The stat is "R".

I had found another thread dealing with uninterruptable sleep, and this was not the case this time. It is really quite strange.
Back to top
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Tue Sep 07, 2004 5:36 pm    Post subject: Reply with quote

did you try "kill -9 pid" ?
Back to top
View user's profile Send private message
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Tue Sep 07, 2004 7:42 pm    Post subject: Reply with quote

That did the trick, although what does -9 do? man kill didn't explain too much, other than that's the signal sent with kill.
Back to top
View user's profile Send private message
DaveArb
Guru
Guru


Joined: 29 Apr 2004
Posts: 510
Location: Texas, USA

PostPosted: Tue Sep 07, 2004 7:55 pm    Post subject: Reply with quote

Kill by itself sends signal 15, SIGTERM. Kind of "please terminate". Signal 9 is SIGKILL, which is kind of "die da**it!". SIGKILL, at least on UNIX, cannot be caught or ignored.

Dave
Back to top
View user's profile Send private message
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Tue Sep 07, 2004 7:59 pm    Post subject: Reply with quote

Thanks! :: tucks "-9, Die, no really, die" away in memory ::
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum