Henrik, thanks alot again.
But I still have one more problem.
I'm using squid as httpd accell mode with a redirector. If I
remove the redirector and starts using /etc/hosts or the DNS my squid
stops responding port 80 fast.
When I try to telnet ip 80 , it takes about 3 seconds to open
the door, sometimes takes longer. If I switch back to the redirector,
everything works fine. What may be happening?
Notice that I have a considerable traffic on it. (about
3Mbits/s) .
thanks
thiago.
-----Original Message-----
From: Henrik Nordstrom [mailto:hno@squid-cache.org]
Sent: Friday, February 21, 2003 10:22 AM
To: Thiago Lima
Cc: squid-users@squid-cache.org
Subject: RE: [squid-users] Squid Stores caches based on ips?
s
fre 2003-02-21 klockan 13.37 skrev Thiago Lima :
> On Thursday 20 February 2003 15.40, Thiago Lima wrote:
> > Put a private dns server, but then after a little while squid stops
> > responding requests. Looking into the FAQ i found that I should use
> > the dnsserver program. So I recompiled squid using todays version
(CVS
>
> > snapshop) with the --without-internal-dns parameter.
>
> hn> Where in the FAQ did you find that the dnsserver program should be
> hn> used if you have a private DNS server? This is not correct.
>
>
> Its not about private DNS, its about having too many DNSs
requests
> and blocking the main squid process. Its question 4.10 in FAQ.
This only applies if you have compiled Squid to use dnsserver. The
internal DNS client (the default) does not have any such issues.
But if you have compiled Squid with --disable-internal-dns to use
dnsserver then it is important that you have well more than sufficient
number of dnsserver helper processes running or else there will be
delays or even automatic restarts of Squid if the delay due to queued
requests waiting for a free dnsserver process gets too large.
My recommendation is to just use the internal DNS client and forget
about the whole issue.
> Ok, I'll do that, but everytime I change it I should give a
> RECONFIGURE signal in squid?
Yes.
> You are doing a great good to all squid community.
Thanks.
-- Henrik Nordstrom <hno@squid-cache.org> MARA Systems AB, SwedenReceived on Fri Feb 21 2003 - 07:11:22 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:32 MST