From: Chuck Ebbert <76306.1226@compuserve.com>
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
Cc: Jan Engelhardt <jengelh@linux01.gwdg.de>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: Swap strangeness: total VIRT ~23mb for all processes [...]
Date: Thu, 28 Oct 2004 14:04:53 -0400 [thread overview]
Message-ID: <200410281407_MC3-1-8D69-9F05@compuserve.com> (raw)
On Thu, 28 Oct 2004 at 14:44:53 +0300 Denis Vlasenko wrote:
> Even if I add up size of every process, *counting libc shared pages
> once per process* (which will overestimate memory usage), I arrive at
> 23mb *total memory required by all processes*. How come kernel
> found 90mb to swap out? There is NOTHING to swap out except those
> 23mb!
>
> (Of course when oom_trigger was running, kernel first swapped out
> those 23mb and then started swapping out momery taken by oom_trigger
> itself, but when oom_trigger was killed, its RAM *and* swapspace
> should be deallocated. Thus I expected to see ~20 mb swap usage).
I am seeing this with Mozilla in an Xnest session. Even after I terminate
Mozilla + Xnest there is a huge amount of swapped-out memory (~100MB). This
is on a system with 320MB of memory. Since the problem goes away when I
leave X I had assumed it was an X bug (Fedora Core 1, not up-to-date) but
now I wonder... Kernel version is 2.6.9 + patches from L-K but problem is
the same in base 2.6.9.
--Chuck Ebbert 28-Oct-04 10:48:07
next reply other threads:[~2004-10-28 18:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-28 18:04 Chuck Ebbert [this message]
2004-10-29 19:13 ` Denis Vlasenko
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=200410281407_MC3-1-8D69-9F05@compuserve.com \
--to=76306.1226@compuserve.com \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=vda@port.imtp.ilyichevsk.odessa.ua \
/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®