Xymon Mailing List Archive search

Error in bb-network.log

8 messages in this thread

list Wim de Houwer · Mon, 24 Jan 2005 08:25:32 +0100 ·
Hello Henrik,

I see alot of following errors in my bb-network.log:

005-01-24 08:19:44 WARNING: Runtime 477 longer than time limit (300)
2005-01-24 08:20:14 dns_queue_run deadlock - loops=834

Any idea where to look or how to resolve this ?

Thanks,

Wim
list Henrik Størner · Mon, 24 Jan 2005 08:40:27 +0100 ·
On Mon, Jan 24, 2005 at 08:25:32AM +0100, Wim De Houwer wrote:
Hello Henrik,

I see alot of following errors in my bb-network.log:

2005-01-24 08:19:44 WARNING: Runtime 477 longer than time limit (300)
2005-01-24 08:20:14 dns_queue_run deadlock - loops=834
There is some sort of problem with your DNS lookups, causing them to
timeout. Check if your /etc/resolv.conf points at the correct DNS
servers and that they actually do respond to lookups - e.g. pick some
of the hostnames from your bb-hosts file and try to run a "nslookup
HOST" on them.

I have one report that the ARES library used by bbtest-net does not
work properly with some DNS servers. So you could try adding the
"--no-ares" option to the bbtest-net command in hobbitlaunch.cfg.
If that makes the problem go away, I'd like to know a bit more about
your DNS server setup - like what kind of DNS servers are you
querying?


Regards,
Henrik
list Wim de Houwer · Mon, 24 Jan 2005 08:51:21 +0100 ·
Maybe a stupid question ...

I added the --trace option to the bbtest-net and it uses standard
traceroute.  When I try to stop hobbit that traceroute (to a host that's
down for the moment) keeps living. I remember some post where someone
mentioned that it's more interesting to use mtr instead of the standard
traceroute for obvious performance reasons.  Could this be the cause of
my problem as well ?  How would i make hobbit use mtr instead of
traceroute ?

Wim
quoted from Henrik Størner

-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: maandag 24 januari 2005 8:40
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Error in bb-network.log

On Mon, Jan 24, 2005 at 08:25:32AM +0100, Wim De Houwer wrote:
Hello Henrik,

I see alot of following errors in my bb-network.log:

2005-01-24 08:19:44 WARNING: Runtime 477 longer than time limit (300)
2005-01-24 08:20:14 dns_queue_run deadlock - loops=834
There is some sort of problem with your DNS lookups, causing them to
timeout. Check if your /etc/resolv.conf points at the correct DNS
servers and that they actually do respond to lookups - e.g. pick some of
the hostnames from your bb-hosts file and try to run a "nslookup HOST"
on them.

I have one report that the ARES library used by bbtest-net does not work
properly with some DNS servers. So you could try adding the "--no-ares"
option to the bbtest-net command in hobbitlaunch.cfg.
If that makes the problem go away, I'd like to know a bit more about
your DNS server setup - like what kind of DNS servers are you querying?


Regards,
Henrik
list Wim de Houwer · Mon, 24 Jan 2005 09:11:54 +0100 ·
 Henrik,

After a short test, the problem remains, but what i do see is that when
i put the --no-ares option,the following row in bbtest goes up ...

DNS lookups completed                    1106554182.581252
30.254821


Cheers,
quoted from Wim de Houwer

Wim


-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: maandag 24 januari 2005 8:40
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Error in bb-network.log

On Mon, Jan 24, 2005 at 08:25:32AM +0100, Wim De Houwer wrote:
Hello Henrik,

I see alot of following errors in my bb-network.log:

2005-01-24 08:19:44 WARNING: Runtime 477 longer than time limit (300)
2005-01-24 08:20:14 dns_queue_run deadlock - loops=834
There is some sort of problem with your DNS lookups, causing them to
timeout. Check if your /etc/resolv.conf points at the correct DNS
servers and that they actually do respond to lookups - e.g. pick some of
the hostnames from your bb-hosts file and try to run a "nslookup HOST"
on them.

I have one report that the ARES library used by bbtest-net does not work
properly with some DNS servers. So you could try adding the "--no-ares"
option to the bbtest-net command in hobbitlaunch.cfg.
If that makes the problem go away, I'd like to know a bit more about
your DNS server setup - like what kind of DNS servers are you querying?


Regards,
Henrik
list Henrik Størner · Mon, 24 Jan 2005 22:36:46 +0100 ·
quoted from Wim de Houwer
On Mon, Jan 24, 2005 at 08:51:21AM +0100, Wim De Houwer wrote:
I added the --trace option to the bbtest-net and it uses standard
traceroute.  When I try to stop hobbit that traceroute (to a host that's
down for the moment) keeps living. I remember some post where someone
mentioned that it's more interesting to use mtr instead of the standard
traceroute for obvious performance reasons.  Could this be the cause of
my problem as well ?  How would i make hobbit use mtr instead of
traceroute ?
I don't think it's the cause of your DNS problems - they are separate.

The command that bbtest-net runs to do a traceroute is determined by
the TRACEROUTE environment variable. So you can set this up in
~/server/etc/hobbitserver.cfg, there is an example in the
hobbitserver.cfg man-page.


Henrik
list Henrik Størner · Mon, 24 Jan 2005 22:38:25 +0100 ·
quoted from Wim de Houwer
On Mon, Jan 24, 2005 at 09:11:54AM +0100, Wim De Houwer wrote:
 Henrik,

After a short test, the problem remains, 
This would appear to point at a DNS server problem.
quoted from Wim de Houwer
but what i do see is that when
i put the --no-ares option,the following row in bbtest goes up ...

DNS lookups completed    1106554182.581252  30.254821
That's to be expected. The standard resolver library is slower than
ARES, because it does one lookup at a time, whereas ARES runs multiple
lookups in parallel.


Henrik
list Martin Parrott · Mon, 24 Jan 2005 15:42:30 -0600 ·
I am new to the list, so sorry if this has been covered. I know the Hobbit info says it only runs on Un*x type OS's, but I was wondering if there was any way to get it compiled and running under Cygwin or something similar? I would like to get it up and running for my LAN at home, but I only have Windows machines.

Thanks,
Martin Parrott
list Henrik Størner · Mon, 24 Jan 2005 21:49:57 +0000 (UTC) ·
quoted from Martin Parrott
In <user-b6e114b6b445@xymon.invalid> Martin Parrott <user-fe841cdb0104@xymon.invalid> writes:
I am new to the list, so sorry if this has been covered. I know the Hobbit info says it only runs on Un*x type OS's, but I was wondering if there was any way to get it compiled and running under Cygwin or something similar? I would like to get it up and running for my LAN at home, but I only have Windows machines.
Feel free to attempt it, but I'm fairly sure it will not work. Hobbit
uses a *lot* of very Unix-ish stuff: Pipes, semaphores, shared-memory,
signals ... I would be surprised if Cygwin was up to running it.

Your best bet is to dig up some old, unused PC and put Linux on it.
Hobbit doesn't require the speediest of hardware to handle a small
LAN, so I think that's the easier path to take.


Regards,
Henrik