OpenVZ Forum


Home » General » Support » Caches on 32 kernel
Caches on 32 kernel [message #51495] Thu, 26 June 2014 20:50
non7top is currently offline  non7top
Messages: 5
Registered: October 2013
Junior Member
From: 109.172.69*
I faced a strange behavior of the memory inside the VE. VE has 760Mb ram and 512 vswap. At some point the oom-killer kicked in killing some random processes, at that time there were 250Mb ram and 250 vswap used, rest(500Mb) was utilized for caches. I don't have bean counters recorded, but i believe pshyspages failcnt had non-zero value.
In this case I would expect the VM to first use remaining vswap, then free up some caches and only when those are all used oom-killer should have kicked in. It appears to me that caches are not freed or freed very slowly, so that if at some point caches+used reaches total memory kernel considers the oom situation instead of dropping some caches.


Here is the image with red arrow pointing to moment when oom-killer was invoked.
index.php?t=getfile&id=1109&private=0

Here is the dmesg
xttp://pastebin.com/HAcNwnsS

Any input would be appreciated, could be that this behavior is expected and it's me who is getting ths wrong, or could be some sort of bug.
  • Attachment: image2.png
    (Size: 30.60KB, Downloaded 799 times)
Previous Topic: Containers as Gateways? Can't make it work
Next Topic: Dream Request - IO Limiting per process
Goto Forum:
  


Current Time: Wed Jun 19 00:20:05 GMT 2019