On Monday, November 11, 2002, at 06:23 PM, Steven Wagner wrote:

[been waiting to spring that one :) ]

So it looks like gappy graphs are back on my large cluster data source (which is actually now three or four hosts instead of just the one). I haven't checked gmetad lately but does anyone know if it round-robins the query hosts or is it just building a list and going top-to-bottom on each pass until it gets a response? Is there a timeout period involved?

Gmetad's data threads will suck down the XML, process it, then wait a random interval between 10 and 20 seconds. The "heartbeat" for the RRDS is 30sec. This means if the interval between two updates is greater than 30sec, the graph data point is "unknown". So there is always at least 10 sec left for the XML processing, which is generally more than enough. In 2.5.2 (?) I am planning to make this interval settable in the config file.

The code for this is in the last 20 lines of data_thread.c


Funny thing is, I haven't changed anything lately. Maybe this is system-related...


Federico

Rocks Cluster Group, Camp X-Ray, SDSC, San Diego
GPG Fingerprint: 3C5E 47E7 BDF8 C14E ED92  92BB BA86 B2E6 0390 8845


Reply via email to