Runtime 31 longer than time limit (20)
list Javier Temponi
Hi, I was looking for information about this issue but, apparently there is not :-( I'm running hobbit 4.2 using hobbitping poll 12 hosts. Some of those hosts are behind a 2Mbps link, and almost all the time that link is 3% busy. The rest of the hosts are in the same LAN as the hobbit server. I need to poll 12 hosts within 20 seconds intervals, but it take 30 seconds the complete process. I read that hobbitping is fastest than fping, and there is some Fping examples that show that 12 hosts would be ping in 20 seconds without any problem. I have changed the bbnet interval in the hobbitlaunch.cfg to 20 (or less, just to try) but here is what the log shows (/var/log/hobbit/bb-network.log): 2008-01-18 16:24:41 WARNING: Runtime 31 longer than time limit (20) 2008-01-18 16:25:11 WARNING: Runtime 30 longer than time limit (20) 2008-01-18 16:25:42 WARNING: Runtime 31 longer than time limit (20) 2008-01-18 16:26:12 WARNING: Runtime 30 longer than time limit (20) 2008-01-18 16:26:43 WARNING: Runtime 31 longer than time limit (20) 2008-01-18 16:27:13 WARNING: Runtime 30 longer than time limit (20) 2008-01-18 16:27:44 WARNING: Runtime 31 longer than time limit (20) 2008-01-18 16:28:14 WARNING: Runtime 30 longer than time limit (20) 2008-01-18 16:28:45 WARNING: Runtime 31 longer than time limit (20) 2008-01-18 16:29:15 WARNING: Runtime 30 longer than time limit (20) If any have any recommendation, or work around, how I can poll this hosts with 20 seconds interval, would be welcome! :D Thanks in advance!! Regards Javier
list Javier Temponi
Well after a few days I found the problem (I'm a bit new on hobbit yet),
I set a -debug option in [bbnet] in the hobbitlaunch.cfg:
[bbnet]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD bbtest-net --report --ping --checkresponse --report --debug
LOGFILE $BBSERVERLOGS/bb-network.log
And I checked the logs for something, and there was 30 seconds of DNS
timeout trying to resolve a hostname, that it wasn't on the dns. 30
seconds is the default timeout for DNS resolution.
I changed the dns timeout to 2 seconds and now is working like a charm
:D
Cheers
Javier!!
▸
From: Javier Temponi
Sent: Friday, 18 January 2008 4:58 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: Runtime 31 longer than time limit (20)
Hi, I was looking for information about this issue but, apparently there
is not :-(
I'm running hobbit 4.2 using hobbitping poll 12 hosts.
Some of those hosts are behind a 2Mbps link, and almost all the time
that link is 3% busy. The rest of the hosts are in the same LAN as the
hobbit server.
I need to poll 12 hosts within 20 seconds intervals, but it take 30
seconds the complete process. I read that hobbitping is fastest than
fping, and there is some Fping examples that show that 12 hosts would be
ping in 20 seconds without any problem.
I have changed the bbnet interval in the hobbitlaunch.cfg to 20 (or
less, just to try) but here is what the log shows
(/var/log/hobbit/bb-network.log):
2008-01-18 16:24:41 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:25:11 WARNING: Runtime 30 longer than time limit (20)
2008-01-18 16:25:42 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:26:12 WARNING: Runtime 30 longer than time limit (20)
2008-01-18 16:26:43 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:27:13 WARNING: Runtime 30 longer than time limit (20)
2008-01-18 16:27:44 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:28:14 WARNING: Runtime 30 longer than time limit (20)
2008-01-18 16:28:45 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:29:15 WARNING: Runtime 30 longer than time limit (20)
If any have any recommendation, or work around, how I can poll this
hosts with 20 seconds interval, would be welcome! :D
Thanks in advance!!
Regards
Javier
list Josh Luthman
Fyi you can look at the bbtest report of the hobbit server and see where the time is spent for the tests.
▸
On 1/21/08, Javier Temponi <user-c91e32d5690d@xymon.invalid> wrote:Well after a few days I found the problem (I'm a bit new on hobbit yet),
I set a -debug option in [bbnet] in the hobbitlaunch.cfg:
[bbnet]
ENVFILE /usr/local/hobbit/server/etc/hobbitserver.cfg
NEEDS hobbitd
CMD bbtest-net --report --ping --checkresponse --report --debug
LOGFILE $BBSERVERLOGS/bb-network.log
And I checked the logs for something, and there was 30 seconds of DNS
timeout trying to resolve a hostname, that it wasn't on the dns. 30
seconds is the default timeout for DNS resolution.
I changed the dns timeout to 2 seconds and now is working like a charm
:D
Cheers
Javier!!
From: Javier Temponi
Sent: Friday, 18 January 2008 4:58 PM
To: 'user-ae9b8668bcde@xymon.invalid'
Subject: Runtime 31 longer than time limit (20)
Hi, I was looking for information about this issue but, apparently there
is not :-(
I'm running hobbit 4.2 using hobbitping poll 12 hosts.
Some of those hosts are behind a 2Mbps link, and almost all the time
that link is 3% busy. The rest of the hosts are in the same LAN as the
hobbit server.
I need to poll 12 hosts within 20 seconds intervals, but it take 30
seconds the complete process. I read that hobbitping is fastest than
fping, and there is some Fping examples that show that 12 hosts would be
ping in 20 seconds without any problem.
I have changed the bbnet interval in the hobbitlaunch.cfg to 20 (or
less, just to try) but here is what the log shows
(/var/log/hobbit/bb-network.log):
2008-01-18 16:24:41 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:25:11 WARNING: Runtime 30 longer than time limit (20)
2008-01-18 16:25:42 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:26:12 WARNING: Runtime 30 longer than time limit (20)
2008-01-18 16:26:43 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:27:13 WARNING: Runtime 30 longer than time limit (20)
2008-01-18 16:27:44 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:28:14 WARNING: Runtime 30 longer than time limit (20)
2008-01-18 16:28:45 WARNING: Runtime 31 longer than time limit (20)
2008-01-18 16:29:15 WARNING: Runtime 30 longer than time limit (20)
If any have any recommendation, or work around, how I can poll this
hosts with 20 seconds interval, would be welcome! :D
Thanks in advance!!
Regards
Javier
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer