Solved

Clean squid's cache

Posted on 2000-05-16
3
1,017 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 50 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
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

732 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