[Pdns-users] still more performance issues

Norbert Sendetzky norbert at linuxnetworks.de
Thu Feb 26 20:17:21 UTC 2004

Hash: SHA1

On Thursday 26 February 2004 18:23, Ken Scott wrote:
> Bind loads everything in memory before answering a single question
> and that's why it also needs only 3-4ms. The downside is that it's
> a memory hog.
> You have two options:
> - - Either you increase the ttl values in pdns.conf drastically
> - - or use the bindbackend, which does the same as BIND
> I was using tbind as the back end, but found it even slower.

That's unusual, because questions are answered out of memory, which 
should be always faster than querying a database. Perhaps it was 
swapping heavily between memory and your hard disk if you haven't 
disabled the cache (which doesn't increase the speed in this case I 
think) by setting the cache-ttl to zero.

> so i will try increasing the ttl,
> think10 minutes should do it?

This should do the job if you apply this value (600sec) to cache-ttl 
and perhaps query-ttl. negquery-ttl can be a lower value, depending 
on the number of negative queries your server is hit and the number 
of different negative queries.

> also there is 256mb ram in it right now,
> do u think that if i added another 256, that might do it?

That depends on how much swap space is currently used. If it is more 
than a few MB, you should consider that.

Nevertheless, if you ask your server the same question twice, the 
second latency should be much lower than the first one.


Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org


More information about the Pdns-users mailing list