Tarak Ranjan wrote:
On Thu, 2008-03-20 at 23:56 +1300, Amos Jeffries wrote:
Tarak Ranjan wrote:
Hi Friends,
i have one issue regarding squid cache. i'm clearing the cache
First problem: why are you doing this?
What has gone so massively wrong that its needed?

squid -k shutdown
cd /cache
rm -rf *
Risky. Safer to go:   rm -rf /cache/*

Or other options in:
http://wiki.squid-cache.org/SquidFaq/ClearingTheCache

squid -z
squid -k start
-k start has no meaning to squid, if it ever did.

but the issue is when i'm starting squid the cache is as it is same,
before that i confirmed in /cache dir, that was empty .
what could be the issue....
indeed what are you trying to say?
Please choose your words with careful grammar so that we can understand the problem.

my query was after deleting all the contents under /cache,  when i'm
starting the squid, the whole old cache is coming back under /cache

As in all the same files etc?
"Squid -z" builds the /cache/00/00/* directories, state files etc which can look the same at first glance.

If anything else is appearing before squid starts to serve requests you have a problem with your OS doing more than it should.

Amos
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.

Reply via email to