Could you try the steps below -
sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches' sudo echo 3 > /proc/sys/vm/drop_caches echo 3 > /proc/sys/vm/drop_caches echo 3 | sudo tee /proc/sys/vm/drop_caches
If these steps do not work -
Get a real machine without OpenVZ (KVM, Xen, etc.) and this will work fine. With OpenVZ, you do not get your own kernel instance and, as such, do not execute such commands.
source share