Koozali.org: home of the SME Server

Increase cache size in squid

patbout

Increase cache size in squid
« on: November 13, 2000, 08:44:48 AM »
I have tried to follow the 'customizing procedure' to increase the cache size in Squid. The squid.conf is properly updated after the /sbin/e-smith/expand-template comand but the size of the cache on disk does not change even after a reboot of e-smith server 4.0.

How can we change the squid config under e-smith?
Thank you. Pat

Gordon Rowell

RE: Increase cache size in squid
« Reply #1 on: November 13, 2000, 05:34:41 PM »
patbout wrote:

> I have tried to follow the 'customizing procedure' to increase
> the cache size in Squid. The squid.conf is properly updated
> after the /sbin/e-smith/expand-template comand but the size of
> the cache on disk does not change even after a reboot of
> e-smith server 4.0.

IIRC, you need to rebuild the squid cache if you change the on-disk
caching parameters (I may be wrong and would be happy if someone
had a better solution).

> How can we change the squid config under e-smith? Thank you. Pat

The brutal approach is to delete /var/spool/squid and then recreate
the top level directory (with correct permissions/ownership). Squid
will then rebuild the cache when it next starts.

Gordon