[Pdns-users] Limit on TCP querys.

Klaus Darilion klaus.mailinglists at pernau.at
Mon Dec 5 09:26:07 UTC 2011



On 04.12.2011 21:44, Grant Keller wrote:
> On 12/03/2011 10:40 AM, Peter van Dijk wrote:
>> Hello Grant,
>>
>> On Dec 3, 2011, at 1:14 , Grant Keller wrote:
>>
>>> When I run a large number of querys against my PDNS 3.0 auth server,
>>> I am seeing a number of timeouts on my querys. For example, if I run
>>> 19000 tcp querys at 5-6 querys per second, I end up with about 400
>>> querys failed due to timeouts. Most of the time outs occur in
>>> batches, where I see all querys or every other query timeout. Is that
>>> simply too many tcp querys for PDNS to handle?
>> Depending on how you are doing this, you may be hitting the
>> max-tcp-connections default, which is 10. If you want to do lots of
>> TCP queries, I suggest increasing max-tcp-connections a lot.
>>
>> Kind regards,
>> Peter van Dijk
>
> The max-tcp-connection was set to 1000, and figured that would be high
> enough, should I increase the limit further?

How do you create the 19000 queries? Every query starting a new TCP 
connection? Reusing TCP connections for further queries?

How can verify the number of established TCP connections during timeout 
phases with (Linux): netstat -n|grep :53|wc -l

regards
Klaus



More information about the Pdns-users mailing list