On Fri, 14 Nov 1997 10:06:02 +0800 (WST)  SO Kwok Tsun wrote:
> According to David J N Begley's mail...
> > 
> > On Wed, 12 Nov 1997, SO Kwok Tsun wrote:
> > 
> > > have 832M and so it should not a problem of swap.  If we do ordinary
> > > nslookup, it's quite fast.  However, all 20 dnsservers are busy.  I
> > > have started a dnsserver manually and the response is very slow even
> > > I query a local hostname.
> > 
> > Is "nscd" running?  If so, check "/etc/nscd.conf" and ensure that the
> > line:
> > 
> >         enable-cache            hosts           no
> > 
> > is uncommented.
> > 
> > 
> > dave
> > 
> 
> Thanks a lot.
> 
> You are right.  After uncomment this line and restart nscd, it works
> much better now.  Just wonder why nscd affect that much on the
> performance.
nscd is a bottleneck because it serialises all DNS requests.
You can analyse the dnsserver process of squid using 'truss'.
Ernst
Received on Fri Nov 14 1997 - 00:42:51 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:32 MST