I put owfs and temploggerd on an NSLU2 running Debian 4.0r2. Owfs is 
working, but I couldn't get any of the temploggerd web pages. I traced 
the problem down to the rrdtool graph function, and for certain 
parameters it takes a terribly long time to generate pages. Temploggerd 
generates a cgi file that has an RRD::GRAPH tag to generate the graph 
image, and that includes instructions to print out the average, min, max 
and last. I ran the equivalent by running "rddtool graph" by hand, 
printing out only the max. It turns out that a graph that includes

PRINT:2629A880000000tempe:MAX:"%5.1lf C"

makes it take 37 minutes to generate the image. If I remove that 
instruction, it takes 5.7 seconds to generate the image. I tried the 
version of rrdtools installed by aptitude (1.2.15), and even compiled 
the latest (1.2.26), and both act the same.

Interestingly enough, the print directives work fine on my NSLU2 unit 
running Unslung 6.8. Some difference between big- and little-ending 
versions?

Willard

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to