[rrd-users] Showing daily average ; from midnight to midnight local time

Tobias Oetiker tobi at oetiker.ch
Tue Feb 16 08:31:39 CET 2010


Hi Jean,

Today Jean-Yves Avenard wrote:

> Hi
>
> On 16 February 2010 17:27, Tobias Oetiker <tobi at oetiker.ch> wrote:
> > the 'problem' is pango, the component who does the font
> > rendering for rrdtool. as it is started it figures out which font
> > to pick ... this can take some time ... there are three things you
> > can do:
> >
> > * have fewer fonts
> >
> > * make sure you are running the latest pango and fontconfig
> >
> > * let the same instance of rrdtool create multiple graphs since the
> >  font selection impact is only on the first graph ...
>
> Well, it's all done via apache / mod_php / rrdtool php_mod
>
> I don't know how I could make it so the same instance create the graph

yea, lugging around php and your whole apache infrastructure is not
realy ideal ... I would go for something more controllable like a
fastcgi interface between apache and your app (you can do that with php too).

cheers
tobi

>
> >
> > 259 fonts is not really excessive, it is just that when the whole
> > font searching has to be done for every graph which is the case
> > when you restart rrdtool every time will take it's toll.
>
> Yeah....
> I've removed the font for the time being, I had added them for gplot
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900


More information about the rrd-users mailing list