[linux-dvb] Re: kernel memleak with DVB drivers

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

 



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?

Johannes



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux