[hobbit] NTP tests taking a long time.
stewartl42 at gmail.com
Sun May 23 13:53:23 CEST 2010
so I would disable the built-in NTP test and replace it with this ntpd test?
Looking through the code, it appears to handle these in a blocking mode as
well, waiting for a reply before going to the next one.
I would think a non-blocking design would be faster. Not sure this would fix
the problem, or just hide it by putting it in an external script that could
take more than 5 minutes.
2010/5/22 Alex <alex at bakarasse.de>
> Try this script:
> Is there any way to speed up the NTP tests? My run is taking longer than
> 300 seconds. 229 of that is NTP.
> Error output:
> WARNING: Runtime 322 longer than time limit (300)
> TIME SPENT
> Event Starttime
> bbtest-net startup 1274487671.562962
> Service definitions loaded 1274487671.564364
> Tests loaded, hostname lookups done 1274487671.786542
> Test engine setup completed 1274487671.792157
> TCP tests completed 1274487681.995479
> PING test completed (1220 hosts) 1274487728.186588
> PING test results sent 1274487728.203649
> Test result collection completed 1274487728.203792
> LDAP test engine setup completed 1274487728.203793
> LDAP tests executed 1274487728.203795
> LDAP tests result collection completed 1274487728.203796
> DNS tests executed 1274487763.561146
> NTP tests executed 1274487993.128128
> Test results transmitted 1274487993.184690
> bbtest-net completed 1274487993.186144
> TIME TOTAL
> An infinite number of mathematicians walk into a bar. The first one orders
> a beer. The second orders half a beer. The third, a quarter of a beer. The
> bartender says "You're all idiots", and pours two beers.
An infinite number of mathematicians walk into a bar. The first one orders a
beer. The second orders half a beer. The third, a quarter of a beer. The
bartender says "You're all idiots", and pours two beers.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xymon