mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bob McElrath <bob+debian-alpha@mcelrath.org>
To: debian-alpha@lists.debian.org
Cc: linux-kernel@vger.kernel.org
Subject: alpha kernel memory leak
Date: Tue, 13 May 2003 10:13:01 -0500	[thread overview]
Message-ID: <20030513151300.GB26879@mcelrath.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1813 bytes --]

I have noticed that my alphas seems to have a gigantic memory leak.  I
have two machines, one with 2GB memory and one with 512MB memory.  When
I first boot up the machines run fine, but over time the amount of
memory available decreases steadily to zero.

At first I thought it was just poor VM code in linux that caused it, but
I ran for a couple of days with the swap turned off, and the results are
the same.  

'ps' does not correctly report memory information anymore (latest debian
unstable -- why?), but using top and summing the VIRT, I get 202MB on
the 512MB machine, and top reports 505MB used, 5MB free, and 25MB
cached. Clearly something is horribly wrong.  The 2GB machine is
reporting that almost all memory is full (free + buffers + cached is
only different from the sum of VIRT by 150 MB).  But it is not used as
heavily so presumably it is leaking slower.  uptime is 4 days on the
512MB machine, 9 days on the 2GB machine.

The kernels on these two machines are 2.4.21-pre7 (2GB) and
2.4.21-rc1-ac1 (512MB), but this is something that I have noticed for
more than a year accross many kernels.

I have plotted the memory usage every 60 seconds over the last 3 days on
the 512MB machine (swap was turned off).  On first bootup I can run many
xterms, galeon, and xmms with no problem.  After 4 days both were killed
with OOM, but notice in the plots that the amount of memory available
hasn't changed, despite the fact that these (and X) are the largest
memory consuming processes running.  It is here:
    http://mcelrath.org/mem.log.ps.gz

Cheers,
Bob McElrath [Univ. of Wisconsin at Madison, Department of Physics]

    "You measure democracy by the freedom it gives its dissidents, not the
    freedom it gives its assimilated conformists." -- Abbie Hoffman


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2003-05-13 15:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-13 15:13 Bob McElrath [this message]
     [not found] ` <3EC374D0.53602A1@earthlink.net>
2003-05-15 15:45   ` Bob McElrath
2003-05-15 11:10 mcompengr

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=20030513151300.GB26879@mcelrath.org \
    --to=bob+debian-alpha@mcelrath.org \
    --cc=debian-alpha@lists.debian.org \
    --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®