Search squid archive

Inconsistent Cache Peer Selection in Accelerator mode - Squid 3.3.8

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

 



Good afternoon! I'm configuring Squid 3.3.8 on Ubuntu 14.04.5 LTS.  It's
in reverse proxy mode and has some explicit peers specified.  My issue
is that sometimes requests get forwarded to that specified peer, but
sometimes squid just forwards directly itself.

`squid.conf` has these lines:

http_port 127.0.1.2:80 accel ignore-cc act-as-origin allow-direct

cache_peer localhost parent 9900 0 no-query no-digest no-netdb-exchange
originserver name=example

cache_peer_domain example foo.example.com

Just after squid restarts, this all works as desired: Requests for
`foo.example.com` are forwarded to `localhost:9900`.  But after some
idle time, squid routes requests directly to `foo.example.com`,
bypassing `localhost:9900`.  I don't see any changes in the cache log.

How exactly does squid select upstream peers while in Accelerator mode?

Can I prevent it from forwarding requests directly?

Thank y'all for your time,
Adam Vollrath
End Point
http://www.endpoint.com
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux