Re: [squid-users] Upgrading squid and cache

From: Matthew Ceroni <matthewceroni_at_gmail.com>
Date: Wed, 28 Aug 2013 19:39:24 -0700

Amos:

While this upgrade is going on is squid prevented from servicing
requests? Cause that is the behavior I was seeing. Then if I tried to
do a service squid stop it would never stop. Ended up having to kill
the processes.

On Wed, Aug 28, 2013 at 6:53 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 29/08/2013 10:38 a.m., Matthew Ceroni wrote:
>>
>> Hi:
>>
>> I recently tried to update to the latest squid (3.8.1) from (3.1.1
>> that is available in CentOS). On secondary proxy servers that had no
>> cache, upgrading went fine.
>>
>> However on the main physical proxy that has cache drives configured
>> squid said it started up (port was listening) but would not service
>> any requests. I noted in the cache.log file a reference to bug 3441
>> and something about rebuilding the cache.
>>
>> Is there an upgrade process I have to do on the cache? Again, squid
>> appeared to be listening but did not service any requets.
>
>
> Squid is doing the cache format upgrade automatically. The process is a disk
> scan identical to if the swap.state journal was corrupted or missing. It may
> take some time if you have large cache_dir.
>
> As a workaround you can run squid as a proxy-only for the production traffic
> (like your secondary one) and run another with a dummy config file to do the
> cache rebuild "offline". Then swap back to normal configuration with cache
> when the rebuild has finished.
>
> Amos
>
Received on Thu Aug 29 2013 - 02:39:32 MDT

This archive was generated by hypermail 2.2.0 : Thu Aug 29 2013 - 12:00:26 MDT