how to Clear Squid Cache CentOS 5.x
stop squid
$ service squid stop
removes cached files and directory structure
$ rm -rf /var/spool/squid/*
removes the logs
$ rm -rf /var/log/squid/*
recreates the cache_dir structure
$ squid -z
$ service squid start
$ service squid stop
removes cached files and directory structure
$ rm -rf /var/spool/squid/*
removes the logs
$ rm -rf /var/log/squid/*
recreates the cache_dir structure
$ squid -z
$ service squid start
Comments
Post a Comment