On Fri, Apr 30, 2010 at 11:52 AM, Jim Rosenberg <jrosenb...@rossint.net> wrote: > The machines that aren't running OpenVPN seem to be OK. If I take a machine > running OpenVPN and kill openvpn, I don't get the memory back. Is it > possible that somehow the tun driver is taking the memory? The picture I > have in my head is that the fre count in vmstat is showing *user-space* > memory, and a driver should only be taking kernel memory. But maybe that is > wrong. > > I'm certainly not finding the missing memory with netstat -m, or vmstat -m > which says: > > Kmem statistics are not being gathered by the kernel > > It looks like I have to turn on option KMEMSTATS and make a new kernel to > get vmstat -m to show me what's happening in the kernel. Would this be the > recommended move to try to diagnose this problem?
And people still wonder why we recommend using the GENERIC kernels. Yes, running a kernel that isn't crippled would be a good move.