mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Manfred Spraul <manfred@colorfullife.com>
To: Christian Robottom Reis <kiko@async.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ps -ax hang with Mozilla in 2.4.9
Date: Sun, 30 Sep 2001 22:44:50 +0200	[thread overview]
Message-ID: <3BB78442.A25BC8A5@colorfullife.com> (raw)

 
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

             reply	other threads:[~2001-09-30 20:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-30 20:44 Manfred Spraul [this message]
     [not found] <200109190322.f8J3MsG263115@saturn.cs.uml.edu>
2001-09-30 20:04 ` Christian Robottom Reis
  -- strict thread matches above, loose matches on Subject: below --
2001-09-03 21:01 Christian Robottom Reis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BB78442.A25BC8A5@colorfullife.com \
    --to=manfred@colorfullife.com \
    --cc=kiko@async.com.br \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®