Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22247 - /proc/<pid>/cmdline is empty (all child processes are swapped)
Summary: /proc/<pid>/cmdline is empty (all child processes are swapped)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-05 01:39 UTC by Rajiv Aaron Manglani (RETIRED)
Modified: 2004-01-14 09:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajiv Aaron Manglani (RETIRED) gentoo-dev 2003-06-05 01:39:14 UTC
see <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=88047>

basically the ptrace fix for the kernel has a side effect of creating empty
/proc/<pid>/cmdline files. so when you do a ps -ef, all child processes show as
[process] which makes them looked swapped when they are really not.

eg:
named     1092     1  0 May26 ?        00:00:00 [named]
named     1093  1092  0 May26 ?        00:00:00  \_ [named]
named     1095  1093  0 May26 ?        00:00:03      \_ [named]
named     1103  1093  0 May26 ?        00:00:00      \_ [named]
named     1104  1093  0 May26 ?        00:00:00      \_ [named]

this is on x86 with 2.4.20-gentoo-r5

redhat has fixed this. we should grab their patch.
Comment 1 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2003-10-26 21:24:05 UTC
this bug is still present in gentoo-sources-2.4.20-r8.
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2003-10-27 09:58:49 UTC
it's fixed in gentoo-test-sources, which will eventually become gentoo-sources
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-12-27 06:11:56 UTC
Can you try gentoo-sources-2.4.22?
Comment 4 Brian Jackson (RETIRED) gentoo-dev 2004-01-14 09:39:53 UTC
this should be fixed in 2.4.22, if it isn't feel free to reopen this bug