[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1036
  • Last Modified:

Clean squid's cache

How do i clean cache and log files of squid proxy ?
0
G2MD
Asked:
G2MD
1 Solution
 
linuxwranglerCommented:
To clean the cache see the Squid FAQ at  http://www.squid-cache.org/Doc/FAQ/FAQ-7.html#ss7.3

The logfiles are in /var/log/squid

(And shame on you for surfing to those sites...:>)
0
 
GnomusCommented:
simple way

# rm -rf /var/spool/squid/*
# rm -rf /var/log/squid/*
# squid -z
0
 
G2MDAuthor Commented:
A day three month ago i erased those directorys, but i had to reinstall Squid for create again its directory structure. I think that for create again the directory structure i have to run squid -z. That's right.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now