[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Reset Squid's Cache



> 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.