Skip to content

Machine stuck on echo 3 > drop_caches #49

@airstand

Description

@airstand

Hello,

If you are using KSM enabled on Host node for KVM VMs .. there is a problem dropping caches.

The best way to do that is :

    #File.open("/proc/sys/vm/drop_caches", 'w') { |fd| fd.print "3" }

    system("sync; /sbin/sysctl vm.drop_caches=1");

Regards,
Spas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions