LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-01-2005, 08:11 AM   #16
toxik
LQ Newbie
 
Registered: Sep 2005
Location: Sweden
Distribution: Gentoo Linux
Posts: 1

Rep: Reputation: 0

Quote:
Originally posted by masand
HI

if u r using /proc filesystem
maybe u should go to the /proc dircetory and delete the folder of the name of the pid u want to kill if it is not going by
#KILL -9 PID

regards
gaurav
No, fool, you cannot remove stuff from that folder, not PID's anyway.
On a decent kernel these will be R/O - yes - even for root.

It's a stupid way to do it anyway, and wouldn't work since the proc filesystem isn't linked to the kernel in that way (AFAIK)

For the problem, it seems that the process freezes during a disk read call - which is passed to the kernel. The kernel seems to fail to do this, however, and the process is not informed about it, which causes the process to stay in the uninterruptable sleep mode - and thus, not being able to respond to signals.

And as said above, terminating such process in any way would be dangerous to your filesystem. (note that this applies as much for cold rebooting too)

Last edited by toxik; 09-01-2005 at 08:14 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to kill process Jeon, Chang-Min Linux - General 6 08-09-2005 12:14 AM
kill D process xrado Linux - General 4 07-04-2005 12:38 PM
cannot kill process (kill -9 does not work) mazer13a Linux - General 1 05-27-2005 02:32 PM
how to kill a process in C++? mimithebrain Programming 9 06-17-2004 05:20 PM
How to kill a certain process? AMDPwred Linux - General 3 10-01-2002 01:40 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration