Skip to contentSkip to conversation

ps -ax hang with Mozilla in 2.4.9

DISCUSSION Manfred Spraul 1 participant 1 message Sep 30, 2001

lore
Share & tools
lore
#0 lore raw

Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Quoted 10 lines
Quoted 7 lines
Quoted 4 lines

Just wondering if anybody has had moz hanging on them and hanging 'ps -ax'
(which means /proc/kmem reading is hung, IIRC)?

Modern Linux "ps" does not use /proc/kmem. Do a "strace ps" to see. Maybe /proc/12345/stat or /proc/12345/status is hanging.

Thanks; if I can get this to be reproduced again I'll try. If read() on stat or status is hanging, something is very wrong, though, right?

Probably you ran into the bug Ulrich Weigand found:
access_process_vm can deadlock, especially with multithreaded apps. Access_process_vm is used by /proc/*/cmdline.

It's fixed in 2.4.10.

--
Manfred