[rrd-users] Runaway rrdtool process
Anders Nygren
anders_nygren2002 at yahoo.se
Fri Feb 6 18:46:31 MET 2004
Hi
I am not sure if this is the right place to ask but I will start here.
I am developing my own data collection system, using rrdtool
for the data storage and graphing.
My system communicates with rrdtool using pipes, and it works
fine as long as I don't generate to much traffic.
When testing I have 1 rrdtool process, and send 15 updates per
second.
(To 15 different .rrd files, step 1 sec, see rrdinfo output below)
This works fine, (CPU load < 5%, including OS etc) but when I
increase the load to 20 updates per sec, (on 20 files), rrdtool
does not respond within my 3 sec timeout, after this the rrdtool
process hogs the cpu and has to be manually killed.
I have also tried with several rrdtool processes, and I get the
same problem, but at different loads.
My system is
Compaq Laptop,
P4 2.4GHz
512 M RAM
SuSE Linux 8.2
rrdtool 1.0.44
Am I doing something obviously stupid?
Is there anyway to get more info from rrdtool to know
what it is doing?
/Anders Nygren
> rrdtool info NE1-IFN1.rrd
filename = "NE1-IFN1.rrd"
rrd_version = "0001"
step = 1
last_update = 1076085860
ds[in].type = "GAUGE"
ds[in].minimal_heartbeat = 10
ds[in].min = 0.0000000000e+00
ds[in].max = 3.0000000000e+00
ds[in].last_ds = "UNKN"
ds[in].value = 0.0000000000e+00
ds[in].unknown_sec = 0
ds[out].type = "GAUGE"
ds[out].minimal_heartbeat = 10
ds[out].min = 0.0000000000e+00
ds[out].max = 2.0000000000e+00
ds[out].last_ds = "UNKN"
ds[out].value = 0.0000000000e+00
ds[out].unknown_sec = 0
ds[errorin].type = "GAUGE"
ds[errorin].minimal_heartbeat = 10
ds[errorin].min = 0.0000000000e+00
ds[errorin].max = 2.0000000000e+00
ds[errorin].last_ds = "UNKN"
ds[errorin].value = 0.0000000000e+00
ds[errorin].unknown_sec = 0
ds[errorout].type = "GAUGE"
ds[errorout].minimal_heartbeat = 10
ds[errorout].min = 0.0000000000e+00
ds[errorout].max = 2.0000000000e+00
ds[errorout].last_ds = "UNKN"
ds[errorout].value = 0.0000000000e+00
ds[errorout].unknown_sec = 0
rra[0].cf = "LAST"
rra[0].rows = 300
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[0].cdp_prep[2].value = NaN
rra[0].cdp_prep[2].unknown_datapoints = 0
rra[0].cdp_prep[3].value = NaN
rra[0].cdp_prep[3].unknown_datapoints = 0
rra[1].cf = "LAST"
rra[1].rows = 360
rra[1].pdp_per_row = 10
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = NaN
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = NaN
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[1].cdp_prep[2].value = NaN
rra[1].cdp_prep[2].unknown_datapoints = 0
rra[1].cdp_prep[3].value = NaN
rra[1].cdp_prep[3].unknown_datapoints = 0
rra[2].cf = "LAST"
rra[2].rows = 288
rra[2].pdp_per_row = 300
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 2.9781500000e+00
rra[2].cdp_prep[0].unknown_datapoints = 253
rra[2].cdp_prep[1].value = 1.9271800000e+00
rra[2].cdp_prep[1].unknown_datapoints = 253
rra[2].cdp_prep[2].value = 9.2402400000e-01
rra[2].cdp_prep[2].unknown_datapoints = 253
rra[2].cdp_prep[3].value = 1.2477100000e+00
rra[2].cdp_prep[3].unknown_datapoints = 253
rra[3].cf = "LAST"
rra[3].rows = 336
rra[3].pdp_per_row = 1800
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 2.9781500000e+00
rra[3].cdp_prep[0].unknown_datapoints = 840
rra[3].cdp_prep[1].value = 1.9271800000e+00
rra[3].cdp_prep[1].unknown_datapoints = 840
rra[3].cdp_prep[2].value = 9.2402400000e-01
rra[3].cdp_prep[2].unknown_datapoints = 840
rra[3].cdp_prep[3].value = 1.2477100000e+00
rra[3].cdp_prep[3].unknown_datapoints = 840
anders at linux:~/erlang/miniNMS/rrdtool/priv>
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list