?
Solved

Clean squid's cache

Posted on 2000-05-16
3
Medium Priority
?
1,027 Views
Last Modified: 2006-11-17
How do i clean cache and log files of squid proxy ?
0
Comment
Question by:G2MD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 2

Expert Comment

by:linuxwrangler
ID: 2815018
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
 

Accepted Solution

by:
Gnomus earned 100 total points
ID: 2815825
simple way

# rm -rf /var/spool/squid/*
# rm -rf /var/log/squid/*
# squid -z
0
 

Author Comment

by:G2MD
ID: 2816916
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question