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

Re: Who eats my buffers?! (kernel leaks memory?)



Hello

> Christian Hammers <ch@westend.com> writes:
> CH> I have a serious problem. One of the servers I administrate seems to 
> CH> have a buffer leak. free and vmstat show me that the buffer size
> CH> increases by some K every second leading to a 15M memory loss per hour.
> CH> I'm currently running a PII with 256M RAM and kernel 2.2.15
> CH> (latest).

Just for the ones who are curious. The "problem" was just that I didn't 
knew the exact definitions of buffer and cache.
"cache" is the cache for text segments of programs, e.g. /bin/ls would be 
very likely be in this cache.
"buffer" is the cache for IO drivers, here my IDE disk drivers store physical
blocks without caring what data is in there.

So both are caches. (I thought buffers are stack+heap segements of running
processes)

bye,

 -christian-

-- 
Linux - the choice of the GNU generation.           Join the Debian Project 
                                                      http://www.debian.org 
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel.: 02404-25624
0AA3 E879 1D82 F59E 77A4 0096 911F 4AE6 86A1 18E6 1024D/86A118E6 1999-09-17



Reply to: