Re: [squid-users] Workers reconfigure-question on 3.2.5

From: Tianyin Xu <tixu_at_cs.ucsd.edu>
Date: Mon, 7 Jan 2013 21:54:39 -0800

Hi, Tom,

What did you change in the configuration file?

t

On Mon, Jan 7, 2013 at 6:10 AM, Tom Tom <tomtux007_at_gmail.com> wrote:
> Hi
>
> I'm using 3.2.5 with four workers (workers 4). Each worker has its own
> cache_dir:
> workers 4
> cache_dir aufs /squid-cache0${process_number} 100000 64 512
> cache_dir aufs /squid-cache0${process_number} 100000 64 512
> cache_dir aufs /squid-cache0${process_number} 100000 64 512
> cache_dir aufs /squid-cache0${process_number} 100000 64 512
>
> When I now reconfigure squid with "squid -f /etc/squid/squid.conf -k
> reconfigure" or "squidclient mgr:reconfigure", then I got the
> following error in the cache.log:
> 2013/01/07 14:34:54 kid5| /squid-cache05/swap.state: (2) No such file
> or directory
>
> After this reconfigure, squidclient is no more usable (it always
> throws an 404). After this reconfigure, the main process for the
> 3128er-listener is then not the process "squid-coord-5" ->it's one of
> the kid-process.
>
> $ netstat -pantue | grep 3128
> tcp 0 0 0.0.0.0:3128 0.0.0.0:*
> LISTEN 0 1441481 20003/(squid-coord-5)
>
> $ squidclient mgr:reconfigure
>
> $ netstat -pantue | grep 3128
> tcp 0 0 0.0.0.0:3128 0.0.0.0:*
> LISTEN 0 1448779 20004/(squid-4)
>
> $ squidclient mgr:info
> HTTP/1.1 404 Not Found
> Server: squid
> Mime-Version: 1.0
> Date: Mon, 07 Jan 2013 13:58:37 GMT
> Content-Type: text/html
> Content-Length: 3299
> X-Squid-Error: ERR_INVALID_URL 0
> Vary: Accept-Language
> Content-Language: en
> ...
> ...
>
>
>
> Why does squid spawns a kid5-process (after the reconfigure) with a
> fifth cache_dir although there are just four configured? How can I
> reconfigure squid properly with workers running?
>
> Many thanks.
> Kind regards,
> Tom

-- 
Tianyin XU,
http://cseweb.ucsd.edu/~tixu/
Received on Tue Jan 08 2013 - 05:54:47 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 08 2013 - 12:00:03 MST