[squid-users] collapsed_forwarding not working as expected

From: Schwenker, Stephen <sschwenker_at_topscms.com>
Date: Wed, 16 Nov 2011 13:49:23 -0500

Hello,

We've installed squid as an accelerator for our website, and it's
working pretty well, but we have found out that the collapsed forwarding
is not working as expected. We ran some load tests to a single url with
a 1 minute expiry and squid is still sending approximately 12000 request
to the back end server in a 5 minute span. If I understand the
documentation correctly, squid should only send 5 requests to the back
end server.

I've configured the following.

http_port 80 accel defaultsite=<site name> vhost
cache_peer <web server> parent 80 7 no-query no-digest originserver
sourcehash monitorurl=/statuscheck/ name=<web server> http11

... acls
... header access

cache_mem 3072 MB
maximum_object_size_in_memory 5000 KB
cache_replacement_policy heap LFUDA
cache_dir aufs /var/cache/squid/disk0 4096 16 256
cache_dir aufs /var/cache/squid/disk1 4096 16 256
cache_dir aufs /var/cache/squid/disk2 4096 16 256
cache_dir aufs /var/cache/squid/disk3 4096 16 256
cache_dir aufs /var/cache/squid/disk4 4096 16 256
cache_dir aufs /var/cache/squid/disk5 4096 16 256
cache_dir aufs /var/cache/squid/disk6 4096 16 256
cache_dir aufs /var/cache/squid/disk7 4096 16 256
cache_dir aufs /var/cache/squid/disk8 4096 16 256
cache_dir aufs /var/cache/squid/disk9 4096 16 256
cache_dir aufs /var/cache/squid/disk10 4096 16 256

refresh_pattern . 1 20% 1400 stale-while-revalidate=86400 max-stale=60
ignore-reload
collapsed_forwarding on
refresh_stale_hit 60 seconds

Can someone help with debugging and fixing this? We're using squid
2.7STABLE9

Steve.
Received on Wed Nov 16 2011 - 18:49:28 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 17 2011 - 12:00:02 MST