Il 28/03/2014 15:19, Kinkie ha scritto:
Hi Marcello,
have you tried accessing google FROM the squid box itself?
ping www.google.com from the box itself worked while Firefox on my PC
wasn't able to get to Google's home page.
Haven't tried accessing www.google.com via HTTP from the squid box,
though (it's a command-line only box). Will try next time, though
(perhaps with wget or lynx/links...)
Thanks for the hint.
On Fri, Mar 28, 2014 at 11:56 AM, Marcello Romani
<mromani@xxxxxxxxxxxxxxx> wrote:
Hi,
I'm struggling with a recurring problem, namely the very long time it
takes (and often the impossibility) to reach www.google.com from my LAN,
which sits behind a custom compiled squid-3.4.
When this happens, other websites are not affected.
Also, if I change the browser setting to "no proxy", the problem goes away.
As a workaround, issuing /usr/local/squid/sbin/squid -k reconfigure
temporarily fixes the problem: after it has completed, pressing F5 or trying
to directly access www.google.com again succeds within the usual time frame.
My squid.conf has
dns_v4_first on
Also, /proc/sys/net/ipv6/conf/default/disable_ipv6 == 1
squid -v reads as follows:
# /usr/local/squid/sbin/squid -v
Squid Cache: Version 3.4.4
configure options:
'--prefix=/usr/local/squid'
'--enable-xmalloc-statistics'
'--enable-storeio=aufs diskd rock ufs'
'-enable-removal-policies=heap lru'
'--enable-icmp'
'--enable-delay-pools'
'--enable-ssl'
'--disable-auth'
--enable-ltdl-convenience
The box is a Primergy TX200 server running debian 6.0.9, with
2.6.32-5-686-bigmem kernel.
Any hints as to where to look to pinpoint the issue would be greatly
appreciated.
Thank you in advance.
--
Marcello Romani
--
Marcello Romani