Over time, the cache is stored in a Squid proxy server is too much and it needs to be cleaned or might be the cache is faulty, because if it allowed the browsing speed will be disturbed and could be said to slow down. So how to clear squid proxy cache?
I have installed squid using Ubuntu Linux distributions, so the command that is used in accordance with what is in ubuntu. For other Linux distributions can be
adjusted command.
1. Stop SQUID running process.
sudo /etc/init.d/squid stop
Or
sudo squid -k shutdown
2. Clear all swap directory proxy. Usually tailored to the setting on each squidnya, eg for setting, My squid all placed in the swap directory: / var / spool / squid
sudo rm -fdR /var/spool/squid/*
Wait a few minutes and leave until the clearing process is complete.
3. Rebuilding a new swap directory
chown proxy.proxy /var/spool/squid
sudo squid -z
4. Finish, and running back our Proxy
sudo /etc/init.d/squid start
5. Hopefully helpful.
Clear Cache Squid Proxy in Ubuntu
Friday, 20 November 2009
Posted by Wiway at 22:34
Labels: Squid, Ubuntu Proxy
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment