Xymon Mailing List Archive search

Runtime longer than time limit (300)

list Josh Luthman
Tue, 1 Sep 2009 10:21:40 -0400
Message-Id: <user-00f063935cbb@xymon.invalid>

Even when blue Xymon does the tests.  If the server is offline it will
timeout on the DNS tests (as well as other tests obvIously).

No bug, expected behavior.

On 9/1/09, Chris Wopat <user-8ece45634613@xymon.invalid> wrote:
Unsure if this is a bug or not. I noticed that for a few days I've been
getting "Runtime 483 longer than time limit (300)" and the bbtest column
shows:

TIME SPENT
<snip>
DNS tests executed	450.074868
<snip>
TIME TOTAL		482.741716


I was able to successfully debug this by adding "--debug" to the [bbnet]
CMD in hobbitlaunch.cfg. This revealed:


2009-09-01 08:26:01 ares_search: tlookup='dns.server.com', class=1, type=1
2009-09-01 08:26:01 Processing 0 DNS lookups with ARES
2009-09-01 08:33:31 Finished ARES queue after loop 20

Note that it took 7 minutes to complete this. Where 'dns.server.com' is
a server that we took offline on the day the issue began. We didn't
remove this from bb-hosts and instead marked it blue.

The fix was to comment it out from bb-hosts. It says "loop 20" above so
I was searching for config options that listed 20 as a value but didn't
come up with anything.

The issue is resolved on my end but I'd like to find out if this is a
bug or expected behavior. It seems that a single DNS check on a host
that's down shouldn't delay things by 7 minutes.

I'm running Xymon v4.2.3 on FreeBSD 7.2-RELEASE.

Thanks,
Chris

-- 
Sent from my mobile device

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

"When you have eliminated the impossible, that which remains, however
improbable, must be the truth."
--- Sir Arthur Conan Doyle