Bug 85398

Summary: process that hangs and will not be killed
Product: [Retired] Red Hat Linux Reporter: Need Real Name <amc50>
Component: kernelAssignee: Arjan van de Ven <arjanv>
Status: CLOSED WONTFIX QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-01-05 19:56:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
This was the output of dmesg when I had an unkillable process none

Description Need Real Name 2003-03-01 02:27:16 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
I run a c program that hangs for some reason (I'm not talking about rpm. I
noticed there were bug reports about rpm hanging but this is
just  simple c program). I run the program, it starts running and printing
verbose messages to the screen, then it hangs and the screen
freezes,  I try to control-c
out of it but it doesn't work. I then try to kill it using
kill pid then kill -9 pid.  It doesn't work. I have had this problem on
two machines that I have upgraded to 8.0. I also look at top and do not see the
process running. If I keep trying to run the program it will hang again and make
another unkillable process. If I reboot the machine and then try to run the
program it runs fine. It happens occasionally and the machine must be rebooted
or the process must be left to hang until a conveniant time to reboot the
machine is found. 
So far this has always happened with programs that were reading files 
on a nfs mounted partition. 
I put this under sh-utils because I thought maybe it's a problem with the kill
command but maybe it belongs elsewhere.

Version-Release number of selected component (if applicable):


How reproducible:
Sometimes

Steps to Reproduce:
1.I run c programs. eventually one hangs
2. If I am not running the program in the background I try to control-c to interrupt
3.I use ps-ax to find the pid number and try to kill the program  kill <PID>
then kill -9 <PID>
    

Actual Results:  The program persists. It shows up on ps -ax although not on top.

Expected Results:  kill -9 pid should have killed the program

Additional info:

I did not have this problem with redhat7.2.

Comment 1 Tim Waugh 2003-03-01 12:43:31 UTC
When this happens, does 'dmesg' show any alarming messages?  This sounds like it
might be a kernel problem.

Comment 2 Need Real Name 2003-03-05 21:52:57 UTC
Created attachment 90483 [details]
This was the output of dmesg when I had an unkillable process

The process is in uninterruptable sleep.

Comment 3 Tim Waugh 2003-03-05 22:09:35 UTC
Certainly not a sh-utils problem anyway.  Changing component.

Comment 4 Arjan van de Ven 2003-03-05 22:15:14 UTC
could you enable magic-sysreq (see the /etc/sysctl.config file) and then press
sysreq-t ? that will spew a lot of stuff but that will usually be the right info
for chasing such uninterruptible hangs.