I try to make notes which might help others on Azure, GCP, AWS Certifications, Gadget reviews and also at times capture my thoughts in this blog..
Saturday, April 30, 2011
Sunday, April 24, 2011
Cache stealing all your linux box memory ??
At times you may see the memory of your linux boxes used by cache , even though you are not running many applications on it. (Output of free -g)
The below solution will help you to free up the memory during runtime without rebooting the host.
To Free PageCache
sync; echo 1 > /proc/sys/vm/drop_caches <- br="" most="" used="">
To free dentries and inodes:
# sync; echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
# sync; echo 3 > /proc/sys/vm/drop_caches
Hope you find it useful.
Cheers..
Ash->
The below solution will help you to free up the memory during runtime without rebooting the host.
To Free PageCache
sync; echo 1 > /proc/sys/vm/drop_caches <- br="" most="" used="">
To free dentries and inodes:
# sync; echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
# sync; echo 3 > /proc/sys/vm/drop_caches
Hope you find it useful.
Cheers..
Ash->
Subscribe to:
Posts (Atom)
The Azure Synapse Resource Provider Error
If you are get the error " The Azure Synapse resource provider (Microsoft.Synapse) needs to be registered with the selected subscript...
-
This was a problem i faced and found that /dev/null is is not a charector devide. This is causing failure for all messages which are direct...
-
Problem Statement : I recently got a dump of a virtual machine, it was exported from VMWare hence it had the respective .vmdk's, .vmx...