Mantis - rrdtool
Viewing Issue Advanced Details
4878 other major always 2011-12-12 08:06 2012-01-24 15:43
daniel  
dam  
normal  
assigned  
open  
none    
none  
0004878: fontconfig => rrdtool slowness under Apache


There are many discussions around the web about rrdtool running slowly
in various situations

In my case, I found "rrdtool graph" runs slowly (4-5 seconds per graph,
even on a very powerful machine) when generating the graphs for Ganglia
web pages. This is on a fresh install of the CSW packages of Apache2,
PHP5, rrdtool and fontconfig.

In my case, I found that

chown nobody /var/opt/csw/cache/fontconfig
chown nobody /var/opt/csw/cache/fontconfig/*

immediately resolved the issue.

On the machine in question:

Apache process runs as nobody
nobody has shell /usr/bin/false
nobody's home = /

Can anyone suggest where the blame lies? Is there any other information
from my environment that may be helpful in fixing this?

Versions:
CSWfconfig 2.6.0,REV=2009.04.24
CSWrrdtool 1.4.5,REV=2011.03.21
CSWapache2 2.2.21,REV=2011.10.05

Platform:
Solaris 10 x86
Sun x4150, 8 core, 32GB

I've marked the severity as `major' because it makes other applications (e.g. Ganglia web reports) extremely slow
Issue History
2011-12-12 08:06 daniel New Issue
2012-01-24 15:42 dam Status new => assigned
2012-01-24 15:42 dam Assigned To => dam
2012-01-24 15:43 dam Note Added: 0009544

Notes
(0009544)
dam   
2012-01-24 15:43   
rrdtool has been updated to 1.4.7,REV=2012.01.24, would you mind giving it another try?

Best regards -- Dago