Hello friends sometime we see after a long use of the server it’s get slow without too much use.Many times I have faced this issue and i seen that there are not too much process are still going on the server .Then I find that Most of the memory is filled with cache.There are simple steps to find that where you are also getting this issue
step 1: First check the status of memory With command
# free -m
Here you can see that your my 8 GB memory is filled with cache.So my server is running slow.Now we will see how to clear it.
command is simple but we must have root access of server .Then run this command .Your issue will be solved .
# sudo sh -c “sync; echo 3 > /proc/sys/vm/drop_caches”
It’s work 100% for dedicated server.
Many of the vps user can get issue while running this command because they didn’t have given the permission to do so.So,You have to contact your service provider .
For any issue please comment.I’ll try to find solution asap.