[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Reset Squid's Cache
- Subject: RE: [cobalt-users] Reset Squid's Cache
- From: "Bob Noordam" <mac@xxxxxxxx>
- Date: Mon Apr 12 02:10:01 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> Onderwerp: [cobalt-users] Reset Squid's Cache
>
> I know I have seen this before but I don't seem to find it,
> how do I reset
> to zero Squid's cache with a Qube3?
>
> Thanks,
>
> Santiago.
http://www.depopo.net/content/faq/qube3-cleancache.htm
Q: [QUBE3] How do I delete the SQUID proxy cache and start over with fresh
cache?
A: How do I delete the SQUID proxy cache and start over with fresh cache?
Telnet to the Qube and gain access as root
Execute the following commands in exactly the same order.
/etc/rc.d/init.d/squid stop
su -l squid
cd /home/squid2/cache
rm -rf *
This command will take a while to end. This will clear the space used
for SQUID cache.
/usr/sbin/squid -f /etc/squid/squid.conf -z
This will regenerate the swap files.
exit
/etc/rc.d/init.d/squid start
After that there will be a new cache.