Re: [squid-users] Squid-3.1 failed to select source
Hello, # squid3 -k parse 2013/04/29 10:10:15| Processing Configuration File: /etc/squid3/squid.conf (depth 0) This is the info it gives. 2013/4/29 Amos Jeffries : > On 28/04/2013 8:55 p.m., Doug wrote: >> >> Hello, >> >> I have the reverse proxy config as: >> >> cache_peer 175.6.1.216 parent 80 0 no-query originserver >> name=caiyuan >> acl resdomain dstdomain www.52caiyuan.com www.52huayuan.cn >> 52caiyuan.com 52huayuan.cn huayuan.52caiyuan.com >> cache_peer_access caiyuan allow resdomain > > What does "squid -k parse" throw out at you? > > I would expect some warnings about something to do with splay trees. > Which means ... > > >> When accessing to the cache, the domains www.52caiyuan.com and >> 52caiyuan.com work fine. >> But huayuan.52caiyuan.com got failed, the cache.log says: >> >> 2013/04/28 16:36:13| Failed to select source for >> 'http://huayuan.52caiyuan.com/' >> 2013/04/28 16:36:13| always_direct = 0 >> 2013/04/28 16:36:13|never_direct = 1 >> 2013/04/28 16:36:13|timedout = 0 > > > The latest version should work much better. There is a package of 3.3.3 now > available in the Debian sid repository you should try out. > > Amos >
Re: [squid-users] Squid-3.1 failed to select source
On 28/04/2013 8:55 p.m., Doug wrote: Hello, I have the reverse proxy config as: cache_peer 175.6.1.216 parent 80 0 no-query originserver name=caiyuan acl resdomain dstdomain www.52caiyuan.com www.52huayuan.cn 52caiyuan.com 52huayuan.cn huayuan.52caiyuan.com cache_peer_access caiyuan allow resdomain What does "squid -k parse" throw out at you? I would expect some warnings about something to do with splay trees. Which means ... When accessing to the cache, the domains www.52caiyuan.com and 52caiyuan.com work fine. But huayuan.52caiyuan.com got failed, the cache.log says: 2013/04/28 16:36:13| Failed to select source for 'http://huayuan.52caiyuan.com/' 2013/04/28 16:36:13| always_direct = 0 2013/04/28 16:36:13|never_direct = 1 2013/04/28 16:36:13|timedout = 0 The latest version should work much better. There is a package of 3.3.3 now available in the Debian sid repository you should try out. Amos
[squid-users] Squid-3.1 failed to select source
Hello, I have the reverse proxy config as: cache_peer 175.6.1.216 parent 80 0 no-query originserver name=caiyuan acl resdomain dstdomain www.52caiyuan.com www.52huayuan.cn 52caiyuan.com 52huayuan.cn huayuan.52caiyuan.com cache_peer_access caiyuan allow resdomain When accessing to the cache, the domains www.52caiyuan.com and 52caiyuan.com work fine. But huayuan.52caiyuan.com got failed, the cache.log says: 2013/04/28 16:36:13| Failed to select source for 'http://huayuan.52caiyuan.com/' 2013/04/28 16:36:13| always_direct = 0 2013/04/28 16:36:13|never_direct = 1 2013/04/28 16:36:13|timedout = 0 For the same originserver, why some domains work but some not? The squid and OS version: Squid Cache: Version 3.1.6 Debian GNU/Linux 6.0 (apt-get install squid3) Can you help? thanks.