RE: [squid-users] DNS round robin / httpd_accel, again...

From: <sean.upton@dont-contact.us>
Date: Tue, 05 Jun 2001 17:18:20 -0700

I think I fixed the problem by changing my configuration so that I used the
defaults for ipcahce_size, fqdncache_size, and positive_dns_ttl; I
previously had 0, becuase I was under the mistaken impression that I wanted
to NOT cache IPs. Now, it seems to work, though it seems that the load is
unevenly distributed (at least under the light load that my single browser
is providing). I am under the assumption that under a heavier (normal)
stress load that this will even out?

Sean

-----Original Message-----
From: sean.upton@uniontrib.com [mailto:sean.upton@uniontrib.com]
Sent: Tuesday, June 05, 2001 4:48 PM
To: hno@hem.passagen.se
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] DNS round robin / httpd_accel, again...

Let me see if I understand, so if dnsserver is outputting two addresses, the
correct behavior would be for squid to cache both of those addresses, and
then round-robin between them, and this is done by the code in ipcache.c,
and the output from dnsserver is processed by ipcacheParse()? Does the
--disable-internal-dns option config make USE_DNSSERVERS true for the
preprocessor or false (I'm trying to figure out which version of the
function is used by by compile)? Sorry for the dumb questions, but I'm
looking through the code trying to get a better understanding of what is
going on.

Thanks,
Sean

-----Original Message-----
From: Henrik Nordstrom [mailto:hno@hem.passagen.se]
Sent: Tuesday, June 05, 2001 3:56 PM
To: sean.upton@uniontrib.com
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] DNS round robin / httpd_accel, again...

Squid is supposed to cache DNS lookups and then round-robin on the
available IP addresses for the site. If it doesn't then there is a bug.
This is irregardless of --disable-internal-dns or not.

--
Henrik Nordstrom
Squid Hacker
sean.upton@uniontrib.com wrote:
>   I'm setting up squid in httpd_accel mode, with multiple back-end servers
> all serving the same content; I am attempting to get a round-robin
approach
> set up, and squid (I believe) is built correctly for that
> (--disable-internal-dns); dnsserver seems to work correctly, AFAIK, and
once
> and a while, after clearing my cache and restarting squid, I seem to be
able
> to get squid to serve from both boxes briefly after startup, but my
> impression is that it is caching ip lookups.  I tried to follow a path
Received on Tue Jun 05 2001 - 18:17:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:30 MST