Xymon Mailing List Archive search

Which DNS query is causing delays

list Milan Kocian
Fri, 9 Oct 2009 16:10:45 +0200
Message-Id: <user-f2f6f8e2dc9f@xymon.invalid>

On Fri, Oct 09, 2009 at 11:26:23AM +0000, Henrik Størner wrote:
In <user-f2650c92cc26@xymon.invalid> "Ward, Martin" <user-2d33a6eb6a05@xymon.invalid> writes:
I have noticed recently that my bb-test runs are taking a long time to >complete, 6500 seconds instead of the maximum of 600. The info on the >bb-test results page shows that the DNS tests are taking most of the time, >but I have around 200 of these, does anyone have any suggestions on how >I can find out which DNS tests are causing the delays without having to >click on every DNS test in all of my Xymon website?
Are you using a local DNS cache ? I would strongly recommend that you
do - the resolver library in Xymon is pretty aggressive, and has been
known to knock out DNS servers if you have many hosts (although 200
doesn't sound like an awful lot).

It shouldn't take that long unless you're using the standard resolver
library (i.e. you are running bbtest-net with the "--no-ares" option),
in which case Xymon cannot control the timeout for the DNS lookup.

Try running with the option "--dnslog=FILENAME", this will log those DNS requests that fail. It is probably one of those.


Regards,
Henrik

Hello,

when we are talking about, I have one question in this area (DNS).
I don't understand why http tests resolve hostnames when you explicitly
define ip address in test. Is this intention to make dns test together ?
(I have small patch to disable it :-).

Thank for answer,

Regards,

-- 
Milan Kocian