Hi Amos/Jeff, Thanks for the reply..... I would be obliged if you could please let me know a few pros/cons of clearing squid cache on a regular basis. Also would you please explain the statements below: 1) Or maybe just setting the garage high/low watermarks closer together for a smaller chunk of work at disposal time. 2) But watch the user:group actually match what your Squid uses. Am a bit lost here! Regards, Sagar Navalkar =================================================== A lot of people quit looking for work as soon as they find a job!!! .....Ziz Zigler =================================================== -----Original Message----- From: Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx] Sent: Tuesday, August 25, 2009 8:14 PM To: Jeff Pang Cc: squid-users@xxxxxxxxxxxxxxx Subject: Re: Squid Cache... Jeff Pang wrote: > 2009/8/25 Sagar Navalkar <sagar.navalkar@xxxxxxxxxxxxxx>: >> 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. Or maybe just setting the garage high/low watermarks closer together for a smaller chunk of work at disposal time. > > 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 & But watch the user:group actually match what your Squid uses. Amos -- Please be using Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18 Current Beta Squid 3.1.0.13