Re: [squid-users] Squid Cache...

From: Jeff Pang <pangj_at_arcor.de>
Date: Tue, 25 Aug 2009 20:57:16 +0800

2009/8/25 Sagar Navalkar <sagar.navalkar_at_idbiintech.com>:
> Hi,
>
> I understand the fact that cache in fact helps improve speed!
>
> Please let me know if clearing the squid cache will help in eliminating the corrupted cache files & help to improve the proxy performance.
>

Squid does it automatically.

> How frequently can the squid cache be cleared? And is it advisable to clear the cache frequently or otherwise to improve performance.?
>

If the cache_dir is very large, for example, the size of it reaches
100G or more, then clearing cache is helpful to performance IMO.

I always do:

/path/squid -k shutdown
mv cachedir cachedir.old
mkdir cachedir
chown -R nobody:nobody cachedir
/path/squid -z
/path/squid -D
rm -rf cachedir.old &

HTH.
Received on Tue Aug 25 2009 - 12:57:31 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 25 2009 - 12:00:03 MDT