lkml.org 
[lkml]   [2001]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.040 / U:1.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site