Search squid archive

collapsed_forwarding not working as expected

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

 



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.



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

  Powered by Linux