Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Machine stuck on echo 3 > drop_caches #49

Open
airstand opened this issue Feb 24, 2016 · 1 comment
Open

Machine stuck on echo 3 > drop_caches #49

airstand opened this issue Feb 24, 2016 · 1 comment

Comments

@airstand
Copy link

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

@LukasdeBoer
Copy link

Yes, I had the same issue on a Proxmox machine - this fixed it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants