Marc MERLIN posted on Fri, 04 Jul 2014 07:24:16 -0700 as excerpted: > So, should I understand that 1) I have enough RAM in my system but all > of it disappears, apparently > claimed by the kernel and not released > > 2) this could be a kernel memory leak in btrfs or somewhere else, there > is no good way to know >
Generally speaking if you're running out of RAM and swap is unused, it's because something is leaking memory that cannot be swapped. The kernel is the most likely suspect as kernel memory doesn't swap, especially so if the OOM-killer kills everything it can and the problem is still there. So it's almost certainly the kernel, and btrfs is a good candidate, but I'm not a dev, and at least from that vantage point I didn't see enough information to conclusively pin it on btrfs. If the devs can't either, then either turning on additional debugging options or further debugging patches would seem to be in order. So the above seems correct from here, yes. -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
