Search squid archive

ERROR 504: Gateway Time-out / Parent<->Child

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

 




In my testbed I have a configuration of 3 squids and 1 apache server acting as repo.

gc-repo.atis.com is organized with the apache and squid (Squid-1 - accel proxy).

2 remaing squids are running on Linux and Solaris and they are configured in parent (Squid-2 - Linux) - child (Squid-3 - Solaris) configuration.
Solaris contains 2.7 squid version.

I have strange problem. When there is a first hit (which is redirected to squid 2) coming to Squid3 (ver. 2.7) I got:
wget http://gc-repo.atsi.com/repo/install_1.pkg
--2012-03-21 12:45:24--  http://gc-repo.atsi.com/repo/install_1.pkg
Connecting to 172.10.11.40:3128... connected.
Proxy request sent, awaiting response... 504 Gateway Time-out
2012-03-21 12:45:24 ERROR 504: Gateway Time-out

When I'm switching proxy to squid 2 (parent) everything is okay:

export http_proxy=http://172.10.11.30:3128
wget http://gc-repo.atsi.com/repo/install_1.pkg
--2012-03-21 12:44:47--  http://gc-repo.atsi.com/repo/install_1.pkg
Connecting to 172.10.11.30:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 2846259 (2.7M) [text/plain]
Saving to: `install_1.pkg.3'

Next I must restart Squid-3 (ver. 2.7) on Solaris and the content can be obtained. I suppose the problem lies with the 2.7 version.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Squid 1 and Squid 2 (Linux Ubuntu):
Squid Cache: Version 3.1.14
configure options: '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3' '--srcdir=.' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3' '--mandir=/usr/share/man' '--with-cppunit-basedir=/usr' '--enable-inline' '--enable-async-io=8' '--enable-storeio=ufs,aufs,diskd' '--enable-removal-policies=lru,heap' '--enable-delay-pools' '--enable-cache-digests' '--enable-underscores' '--enable-icap-client' '--enable-follow-x-forwarded-for' '--enable-auth=basic,digest,ntlm,negotiate' '--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,DB,POP3,getpwnam,squid_radius_auth,multi-domain-NTLM' '--enable-ntlm-auth-helpers=smb_lm,' '--enable-digest-auth-helpers=ldap,password' '--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group' '--enable-arp-acl' '--enable-esi' '--enable-zph-qos' '--disable-translation' '--with-logdir=/var/log/squid3' '--with-pidfile=/var/run/squid3.pid' '--with-filedescriptors=65536' '--with-large-files' '--with-default-user=proxy' '--enable-linux-netfilter' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -g -O2 -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS=' 'CXXFLAGS=-g -O2 -g -O2 -Wall' --with-squid=/build/buildd/squid3-3.1.14

Squid 3 (Solaris 11):
Squid Cache: Version 2.7.STABLE9
configure options: '--prefix=/usr/squid' '--libexecdir=/usr/squid/libexec' '--localstatedir=/var/squid' '--sharedstatedir=/var/squid' '--sysconfdir=/etc/squid' '--enable-arp-acl' '--enable-auth=basic,digest,negotiate,ntlm' '--enable-basic-auth-helpers=DB,NCSA,YP,LDAP,PAM,getpwnam,MSNT,POP3,multi-domain-NTLM,SMB,SASL' '--enable-cache-digests' '--enable-carp' '--enable-coss-aio-ops' '--enable-delay-pools' '--enable-digest-auth-helpers=ldap,password' '--enable-external-acl-helpers=ip_user,unix_group,ldap_group,wbinfo_group' '--enable-follow-x-forwarded-for' '--enable-forward-log' '--enable-forw-via-db' '--enable-htcp' '--enable-icmp' '--enable-large-cache-files' '--enable-multicast-miss' '--enable-negotiate-auth-helpers=squid_kerb_auth' '--enable-ntlm-auth-helpers=SMB,fakeauth,no_check' '--enable-ntlm-fail-open' '--enable-referer-log' '--enable-removal-policies=heap,lru' '--enable-snmp' '--enable-ssl' '--enable-storeio=aufs,coss,diskd,ufs,null' '--enable-useragent-log' '--enable-x-accelerator-vary' '--with-aio' '--with-aufs-threads=8' '--with-large-files' '--with-build-environment=POSIX_V6_ILP32_OFFBIG' '--with-pthreads' 'CC=/opt/SUNWspro.40/SS12/bin/cc' 'CFLAGS= -xO3 -m32 -xchip=pentium -xspace -Xa -xildoff -xc99=all -D__BIG_ENDIAN__ -DSOLARIS_11 -I /usr/include/kerberosv5 ' 'LDFLAGS=-R/usr/sfw/lib -L/usr/sfw/lib '




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

  Powered by Linux