Help track a memory leak in 2.6.0..14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/ <-+
|[ ______________________ ]|

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux