Search squid archive

Workers reconfigure-question on 3.2.5

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

 



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


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux