It looks like you don't have enough DNS processes running
How much is your dns_children set? 

>From the squid.conf:
#  TAG: dns_children
# Note: This option is only available if Squid is rebuilt with the
#       --disable-internal-dns option
#
#       The number of processes spawn to service DNS name lookups.
#       For heavily loaded caches on large servers, you should
#       probably increase this value to at least 10.  The maximum
#       is 32.  The default is 5.
#
#       You must have at least one dnsserver process.
#
#Default:
# dns_children 5

If you update that setting, it should do better. 

Greetings
Peter

>>> Mauro <[EMAIL PROTECTED]> 26-11-2003 13:22:24 >>>
On Wednesday 26 November 2003 12:05, Henrik Nordstrom wrote:
> On Wed, 26 Nov 2003, Mauro wrote:
> > On Tuesday 25 November 2003 13:36, Henrik Nordstrom wrote:
> > > On Tue, 25 Nov 2003, Mauro wrote:
> > > > I have changed  positive_dns_ttl parameter.
> > > > I put positive_dns_ttl 5 minutes.
> > > > Now it seems that things goes better.
> > >
> > > What was it set to before?
> >
> > Default value.
> > What do you think about?
>
> Can I please get a full problem description again.. my memory is a
> little short..

I use squid 2.4STABLE6 with debian linux.
I see in my /var/log/syslog a lot of messages like these:

Nov 26 13:16:08 proxy1 squid[10567]: idnsCheckQueue: ID 85a6: giving 
up after 17 tries and 304.3 seconds
Nov 26 13:16:19 proxy1 squid[10567]: idnsCheckQueue: ID 85c0: giving 
up after 17 tries and 303.3 seconds
Nov 26 13:16:19 proxy1 squid[10567]: idnsCheckQueue: ID 85c2: giving 
up after 17 tries and 303.3 seconds
Nov 26 13:16:19 proxy1 squid[10567]: idnsCheckQueue: ID 85c4: giving 
up after 17 tries and 303.1 seconds
Nov 26 13:16:29 proxy1 squid[10567]: idnsCheckQueue: ID 85d3: giving 
up after 17 tries and 302.7 seconds

and my clients, about 600, are unable to contact internet.
I see that putting positive_dns_ttl to 5 minutes, the default was 6 
hours I think, things seems to go better.
What about this?
I have no problem with dns provider because if I connect directly, 
without passing through squid, I have no problem at all.
Thank you.

Reply via email to