Re: Memory Leaking. Help!

Kervin Pierre (kpierre@fit.edu)
Mon, 15 Apr 2002 11:59:40 -0400


Eugenio Mastroviti wrote:
> much data as it can in memory. The actual memory in use (check with
> 'free') is total-(buffers+cache)= 2.2-(0.37+1.51)GB=about 320 MB, which

This is interesting. What exactly is buffers and cache used for?

I had the same issue with the original poster with a new server. A
fresh install with nothing significant running ( no bind nor sendmail,
etc. ) reported that over 450 out of 512 MB was used, but looking at the
process usage on top I barelly got 5% memory usuage by process. If the
above calculation ( memory use = total - buffers - cache ) is correct
then the memory use drops to ~100 MB.

I guess what's confusing is that total memory usuage is including
buffers and cache. If that memory is available to applications,
shouldn't it be removed from the "total used" figure?

--Kervin

-- 
http://linuxquestions.org/ - Ask linux questions, give linux help.
http://splint.org/ - Write safe C code. splint source-code analyzer.

- 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/