Messages in this thread |  | | Date | Sun, 30 Sep 2001 22:44:50 +0200 | From | Manfred Spraul <> | Subject | Re: ps -ax hang with Mozilla in 2.4.9 |
| |
Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit
> > > > 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |