Bug 49208

Summary: ps (and killall, shutdown) hangs
Product: [Retired] Red Hat Linux Reporter: Mark H Johnson <mark_h_johnson>
Component: procpsAssignee: Alexander Larsson <alexl>
Status: CLOSED DUPLICATE QA Contact: Aaron Brown <abrown>
Severity: high Docs Contact:
Priority: medium    
Version: 7.1CC: ckjohnson, mauro, wtcorrea
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: 2002-07-01 13:27:29 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:

Description Mark H Johnson 2001-07-16 21:38:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2smp i686)

Description of problem:
We are developing a large multi-tasking application (using Linux Threads).
We use ps in scripts to kill jobs that are "hung" due to our own bugs.
After several runs/kills, the system gets into a state where ps will no
longer list all of the selected processes - it hangs. In a similar manner,
"killall -9 (our program here)" will also hang instead of killing the
selected application. Attempts to cleanly shut down the system also fail at
the step where it attempts to kill all the running jobs.


How reproducible:
Sometimes

Steps to Reproduce:
1. Run script to start our application. Debug, get stuck.
2. Run script to kill our application (killall -9 [our app]).
[repeat 1 & 2 until system begins to hang]
	

Actual Results:  Several iterations of these two steps work OK. After first
failure, always fails to kill the application. Other utilities like ps,
top, and shutdown also begin to fail to work. 

Expected Results:  Application runs after [1]. Application is dead after
[2].

Additional info:

If we use the reset button after attempting to shutdown the system, the
file system is not save properly [and e2fsck runs on next boot].

Comment 1 Joerg Krause 2001-07-19 13:27:05 UTC
We have the same problem here. After more than 200 processes ps stops to work. We could solve this problem after
switching back to a patched procps-2.06 instead of 2.07.

Comment 2 Wagner T. Correa 2002-03-23 02:02:13 UTC
I'm experiencing the same problem running kernel 2.4.9-31 and procps-2.0.7-11 on
a AMD Athlon.


Comment 3 Alexander Larsson 2002-06-20 13:35:14 UTC
Bug 61503 is likely related to this.

Comment 4 Alexander Larsson 2002-08-08 13:50:34 UTC

*** This bug has been marked as a duplicate of 61503 ***