Add your thoughts here… (optional)
Clear Memory in Linux (specially for squid servers)
If you are hosting SQUID proxy server on your Linux box, you may have noticed that SQUID as a proxy server is very greedy with memory. Over the period of time, it consumes large amount of memory , even in some cases 98-99%.
This script will clear the memory so that it be used by system or SQUID again. Make sure you are logged in with rootuser in order to continue.
Just create a new script and put it in any folder like /temp
Create File by following command
Now edit the file by
And Paste the following code.
Save, and Exit.
Now change the permission so it can be executed.
Now first execute
and note down the free memory,
Now execute the file by running …
check the log file by
Lihat pos aslinya 207 kata lagi