public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Olivier Sessink <olivier@lx.student.wau.nl>,
	linux-kernel@vger.kernel.org
Subject: Re: weird memory related problems, negative memory usage or fake memory usage?
Date: Wed, 26 Sep 2001 00:36:26 +0200	[thread overview]
Message-ID: <20010926003626.L8350@athlon.random> (raw)
In-Reply-To: <20010924233139.A14548@fender.fakenet> <Pine.LNX.4.33L.0109241900550.1864-100000@duckman.distro.conectiva>
In-Reply-To: <Pine.LNX.4.33L.0109241900550.1864-100000@duckman.distro.conectiva>; from riel@conectiva.com.br on Mon, Sep 24, 2001 at 07:03:20PM -0300

On Mon, Sep 24, 2001 at 07:03:20PM -0300, Rik van Riel wrote:
> [Andrea, please read this bugreport ...]
> 
> On Mon, 24 Sep 2001, Olivier Sessink wrote:
> 
> > after upgrade from 2.4.10pre8 to 2.4.10 I have weird problems,
> > Xfree sometimes shows up with 99.9% memory in top (on a box with
> > 512 mb), and in ps axl it has 4294989036 in the RSS column. When
> > this happens the box starts to kill some processes, starts
> > heavily swapping (top reports > 400MB in the cache, but the
> > machine is heavily swapping!!!) and is completely unusable.
> 
> > Since this makes the machine completely unusable, and since it is not
> > happening on 2.4.10pre8 I guess it is a bug ;-)
> 
> >   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
> >  1262 root       5 -10 50764  -1M  1320 S <   2.7 99.9   0:01 XFree86
> 
> 
> It seems Andrea wasn't careful with the merge and
> backed out some of the locking wrt mm->rss.

thanks for forwarding this report, actually I just noticed this here and
that's good so I can reproduce :)

it is possible it is my mistake, but I don't think so, infact I don't
recall to have changed rss stuff or locking around it. Incidentally the
first time I reproduced it here was after the tlb shootdown patch from
Ben was introduced, never reproduced it here previously with only my
changes.  However it is possibly just a coincidence.

> 
> Andrea, you may want to spend some time auditing
> your VM like has been done with the other 2.4 VM.
> 
> cheers,
> 
> Rik
> --
> IA64: a worthy successor to the i860.
> 
> 		http://www.surriel.com/
> http://www.conectiva.com/	http://distro.conectiva.com/
> 
> 


Andrea

  reply	other threads:[~2001-09-25 22:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-24 21:31 weird memory related problems, negative memory usage or fake memory usage? Olivier Sessink
2001-09-24 22:03 ` Rik van Riel
2001-09-25 22:36   ` Andrea Arcangeli [this message]
2001-09-25 22:54     ` Rik van Riel
2001-09-25 23:11       ` Andrea Arcangeli
2001-09-26  0:07         ` [patch] " Benjamin LaHaise
2001-09-27 13:41           ` Hugh Dickins

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=20010926003626.L8350@athlon.random \
    --to=andrea@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olivier@lx.student.wau.nl \
    --cc=riel@conectiva.com.br \
    /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