From: Kalin KOZHUHAROV <kalin@thinrope.net>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Help track a memory leak in 2.6.0..14
Date: Tue, 06 Dec 2005 16:58:01 +0900 [thread overview]
Message-ID: <43954489.5040309@thinrope.net> (raw)
Hi all,
I have a Toshiba laptop (DynaBook SS/S5: PIIIM 800MHz, 256MB, 20GB 1.8" IDE) that has been running
all kernels since 2.6.0 (vanilla with occasional small patches) as a Gentoo machine.
Now, recently (a few months) I have been using it more and even as a desktop (leaving it up most of
the time). What I use 95% of the time is xorg/windowmaker/{xterm,firefox,thunderbird,gaim}...
The problem is that after some time memory is consumed (as `free -m` shows), response (kbd, mouse)
slows down to a stall and hard disk spins ad infinum (noise/ide LED). Sometimes I am able to switch
to a xterm/console and see that there is 2-3MB free memory, 1-2MB cached and 0-2MB buffers. Killing
all apps (X/WM included), `telinit 1` gives me something like 100-150MB used memory (not counting
buffers/cache) and virtually no apps are running. Restarting the machine, gives about 10-15MB used.
BTW, adding swap just slows down the process, but result is the same. Usually I work without swap.
Who uses that memory?
Why cannot be reclaimed by kernel?
WTF is the disk reading(writing?) all the time? (no swap)
So basically, how do I debug what process gets memory and doesn't release it?
At present (2.6.13.3) I need to reboot about once a day if I use the machine. And sometimes the only
way is coldboot or Alt+SysRq+{S;U,S,B}...
I am running almost the same config on a few other boxes but the problem does not seem to exist
(they have more memory though). The special thing on this laptop is the IDE and VGA subsystem:
00:04.0 IDE interface: ALi Corporation M5229 IDE (rev c3)
01:00.0 VGA compatible controller: Trident Microsystems CyberBlade XPAi1 (rev 82)
The 1.8" HDD is: Device Model: TOSHIBA MK2003GAH
All advice is appreciated!
Kalin.
--
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
next reply other threads:[~2005-12-06 7:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-06 7:58 Kalin KOZHUHAROV [this message]
2005-12-06 8:03 ` Help track a memory leak in 2.6.0..14 Arjan van de Ven
2005-12-15 3:44 ` Kalin KOZHUHAROV
2005-12-16 6:06 ` Jesse Brandeburg
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=43954489.5040309@thinrope.net \
--to=kalin@thinrope.net \
--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