Bug 55983 - ps is hung, forever
Summary: ps is hung, forever
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-09 21:19 UTC by Frank Hirtz
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-02-19 16:47:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Frank Hirtz 2001-11-09 21:19:34 UTC
Description of Problem:

ps was stuck on a specific process.

$ cd /proc/14985
$ cat cmdline (or status or stat or
 maps)
 
   -hangs!!!!!!!!

$ strace cat maps
  
  ......
   
open("maps", O_RDONLY|O_LARGEFILE)      = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
brk(0x8051000)                          = 0x8051000
read(3, 

when it hangs (we can\'t reproduce it) doing a cat on the /proc/$pid/*
files (I only checked stat and statm) will never return.



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

How Reproducible:


Steps to Reproduce:
1.cd /proc/14985 
2. cat cmdline
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Bill Nottingham 2003-02-19 16:47:48 UTC
Please try more recent errata kernels.


Note You need to log in before you can comment on or make changes to this bug.