Ticket #123 (closed defect: fixed)
rrdtool graph v1.2.24 on AIX 5.3 will hang ( Use ~ 90$ cpu )
| Reported by: | human | Owned by: | oetiker |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | rrd_graph | Version: | 1.2.24 |
| Keywords: | Cc: |
Description
Given,
rrdtool v1.2.24 build on AIX 5.3 with xlC v8
Running ganglia ( gmetad v3.0.5 ) for a while. First everything works fine using ganglia's web interface. But after a while the browser say: Loading ....... for a graph. Looking at the process list i see a rrdttol graph process running using 90% of the cpu and never ending.
For debugging i used the following commands. On my system the first & second command are running but if i INCREASE the value for run B from --end 1195053850 to --end 1195053851 even run B will fail where run C will fail everytime on the give rrd database.
Any hints ?
$ cat rrdtest
echo AAAAAAAAAAA
truss -efa /usr/bin/rrdtool graph - \
--imgformat PNG \
--start 1194965906 \
--end 1195052306 \
--width 300 --height 75 \
--title weight \
--color BACK#ffffff \
DEF:sum="weight.rrd":sum:AVERAGE \
AREA:sum#0000ff:"tcseptimus last day (now -1.00)"
echo BBBBBB
truss -efa /usr/bin/rrdtool graph - \
--imgformat PNG \
--start 1195050792 \
--end 1195053850 \
--width 300 --height 75 \
--title weight \
--color BACK#ffffff \
DEF:sum="weight.rrd":sum:AVERAGE \
AREA:sum#0000ff:"tcvulcanus last hour (now -1.00)"
echo CCCCCC
truss -efa /usr/bin/rrdtool graph - \
--imgformat PNG \
--start 1195050792 \
--end 1195054392 \
--width 300 --height 75 \
--title weight \
--color BACK#ffffff \
DEF:sum="weight.rrd":sum:AVERAGE \
AREA:sum#0000ff:"tcvulcanus last hour (now -1.00)"
Attachments
Change History
Changed 4 years ago by human
-
attachment
weight.rrd
added
comment:1 follow-up: ↓ 2 Changed 4 years ago by oetiker
you may have more success asking about these things on the mailinglist ...
comment:2 in reply to: ↑ 1 Changed 4 years ago by human
Replying to oetiker:
you may have more success asking about these things on the mailinglist ...
I just hoped that you test the given rrd database on your system to see i you have the same problem or not. The point is that the rrdtool graph v1.2.13 running against the test rrd database shows no problem. If it is working for you i can build a debug version ...
tia Hajo



Trouble causing rrd database