Very high memory usage, but not claimed by any process?

Posted by SharkWipf on Server Fault See other posts from Server Fault or by SharkWipf
Published on 2013-07-03T10:18:44Z Indexed on 2013/07/03 11:07 UTC
Read the original article Hit count: 190

Filed under:
|
|
|
|

While stress-testing LVM on one of our Debian servers, I came across this issue where memory would fill up a lot to the point where it would run the server out of memory, but no process would claim the memory. See http://i.imgur.com/cLn5ZHS.png, and see http://serverfault.com/a/449102/125894 for an explanation on the colors used in htop.

Why is this happening?
And is there any way to see what process is using the memory?
Htop is configured not to hide any processes, so what is it that htop is missing?

In this particular case, I can fairly certainly say that it is caused, directly or indirectly, by lvmcreate, lvmremove or dmsetup, as I was stress-testing that. Do note that this question is not about solving the LVM problem, but about why the memory isn't claimed by any process. Stopping all LVM commands does bring the memory back down to <600MB.

© Server Fault or respective owner

Related posts about linux

Related posts about monitoring