Re: Kernel memory leak?

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

 



Hi Andreas,

On 17/07/06, Andreas Rieke <[email protected]> wrote:
Hi,

after booting a machine, it runs well using about 300 M of 1 G physical
RAM. However, the remaining RAM decreases day by day, and after 2 or 3
weeks, the machine crashes because swapping takes too much time.
However, all processes together take about 250 MBytes according to ps,
thus I assume that the kernel takes the rest. free tells me in fact that
much swap space is used an nearly no physical RAM is left.

This behaviour has been seen on Red Hat Enterprise Linux 3 with a 2.4
kernel and on SuSE Linux 10 with a 2.6.13-15-default kernel. There are
no unusual things running on the machine, the main application is an
apache web server with a PostgreSQL database.

Is there any kernel support to detect where the memory has gone?

Yes, the kmemleak patches http://homepage.ntlworld.com/cmarinas/kmemleak/

Is any kind of memory eating virus or worm known?
Is it possible that processes request memory which is NOT considered in
/proc or in the procps tools?
Is it possible that processes are invisible in /proc or in the procps tools?

Yes - if you have a rootkit.


Thanks in advance,

Andreas

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
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