[squid-users] Squid WCCP with multiple workers

Stephen Baynes stephen.baynes at smoothwall.net
Fri Nov 28 10:28:43 UTC 2014


Is WCCP supposed to work with Squid multiple workers?

It works with 1 worker. If we change the number of workers from 1 to 2
we see it fail. The router no longer is aware of Squid and does not
reroute the data to the Squid box.

This can be seen on the router with "show ip wccp" . The "Number of
Service Group Clients" and "Number of Service Group Routers"  stops
being 1 and become 0.

The wccp lines in the Squid config are:

wccp2_router 10.0.5.201
wccp2_forwarding_method 1
wccp2_return_method 1
wccp2_assignment_method 1
wccp2_service standard 0 password=PPPPP
wccp2_service dynamic 70 password=PPPPP
wccp2_weight 1
wccp2_service_info 70 protocol=tcp flags=src_ip_hash priority=240 ports=443

Squid version 3.4.7


With 2 workers we see the following in the cache log:
2014/11/28 10:20:25 kid3| Accepting WCCPv2 messages on port 2048, FD 14.
2014/11/28 10:20:25 kid3| Initialising all WCCPv2 lists

With 2 worker we see the following in the cache log:
2014/11/28 09:44:09 kid1| Accepting WCCPv2 messages on port 2048, FD 16.
2014/11/28 09:44:09 kid1| Initialising all WCCPv2 lists


Any thoughts?

Thanks
-- 
Stephen Baynes CEng MBCS CITP


More information about the squid-users mailing list