Re: Severe Linux 2.4 kernel memory leakage

Bill Davidsen (davidsen@tmr.com)
Mon, 26 Nov 2001 15:15:33 -0500 (EST)


On Sun, 25 Nov 2001, Andi Kleen wrote:

> "Peter T. Breuer" <ptb@it.uc3m.es> writes:
>
> > "A month of sundays ago Chris Chabot wrote:"
> > > The box has ran Redhat 7.1 and 7.2, with plain vanilla linux kernels
> > > 2.4.9 upto 2.4.15, in all situations the same problem appeared.
> > >
> > > The problem is that when the box boots up, it uses about 60Mb of memory.
> > > However after only 1 1/2 days, the memory usage is already around 430Mb
> > > (!!). (this is ofcource used - buffers - cache, as displayed by 'free').
> >
> > I also have this problem. Unknown circumstances provoke it. Kernel
> > 2.4.9 to 2.4.13. When it occurs I lose about 30MB a day.
>
> Compare snapshots of /proc/slabinfo before and after.

This may be useful, but I've never seen anything like that magnitude of
usage, either on dns servers (some of mine are up ~150 days), or usenet
servers (several about to hit the 497 day problem). It will be
insteresting to see what's reported, though.

> It may be completely harmless; e.g. a slab cache. free is unfortunately
> quite misleading with newer kernels; it doesn't give information about
> many important caches (e.g. not about the slab caches)

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

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