Re: Severe Linux 2.4 kernel memory leakage

From: Chris Chabot (chabotc@reviewboard.com)
Date: Sun Nov 25 2001 - 10:30:26 EST


The kernel i ran for about a month was kernel 2.4.11.

Ofcource i am aware that the memory usage grows as more memory is used
for buffers/cache. (specialy since its also a large file server).

However if you check my 'free' output, and the ps aux output you will
notice that the 430Mb used is with the cache and buffer usage already
subtracted from the 'total usage' (else usage is just below 1 gig).

Of 430Mb, (counting ps aux res values), just below 80 Mb is used by the
applications. the rest is just 'missing'.

So the current memory division is about (sources: application = added ps
aux output, buffer/cache/free = 'free' command, sysv shm from 'ipcs')

Applications: 80Mb
Buffers: 127Mb
Cache: 460Mb
Sysv shm: 0
Free: 9.5Mb

memory total 1Gb

Unaccounted +/- 360Mb

ps, yes i did check /dev/shm, and 'ipcs' and no memory is used as sysv
shared memory

        -- Chris

On Sun, 2001-11-25 at 16:03, Florian Weimer wrote:
> Chris Chabot <chabotc@reviewboard.com> writes:
>
> > When the box keeps on running for about a month,
>
> Which kernels have you run for about a month, and which ones showed
> this extreme behavior? Obviously not 2.4.15...
>
> The amount of available memory decreasing is quite normal, due to the
> growing cache.
>
> --
> Florian Weimer Florian.Weimer@RUS.Uni-Stuttgart.DE
> University of Stuttgart http://cert.uni-stuttgart.de/
> RUS-CERT +49-711-685-5973/fax +49-711-685-5898
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

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



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:19 EST