[linux-dvb] Re: kernel memleak with DVB drivers
js at linuxtv.org
Sun Jun 19 11:45:14 CEST 2005
Stefan Seyfried wrote:
> On Sat, Jun 18, 2005 at 08:07:17PM +0200, Johannes Stezenbach wrote:
> > How do you measure the "10MB kernel memory lost"?
> start the machine with almost no services running
> log the output of "free", /proc/slabinfo and /proc/meminfo
> free shows about 10mb "used" more after every round. Everything
> else looks normal. After ~25 to 30 rounds, the machine runs OOM,
> without even starting to swap (sure, kernel memory cannot be swapped).
"free" is pretty much irrelevant for detecting kernel mem leaks
because it's hard to tell if the mem is just used for caching.
Anyway, post some numbers. If you see the slab growing it would
be nice to know which one. Try slabtop.
What exactly do you mean by OOM? Does the kernel die or
start to kill processes?
More information about the linux-dvb