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
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.

Here is the dmesg

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 1048 times)
Read Message
Previous Topic: Containers as Gateways? Can't make it work
Next Topic: Dream Request - IO Limiting per process
Goto Forum:

Current Time: Tue Mar 05 00:31:05 GMT 2024

Total time taken to generate the page: 0.02045 seconds