Re: [rrd-users] VDEF hangs rrdtool

This is a discussion on Re: [rrd-users] VDEF hangs rrdtool within the RRD Users forums, part of the Networking and Network Related category; On Tue, Jun 26, 2007 at 02:49:48PM +0200, Dag Erlandsson wrote: > rrdtool graph - DEF:countA=/var/owdata/...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-26-2007
Alex van den Bogaerdt
 
Posts: n/a
Default Re: [rrd-users] VDEF hangs rrdtool

On Tue, Jun 26, 2007 at 02:49:48PM +0200, Dag Erlandsson wrote:

> rrdtool graph - DEF:countA=/var/owdata/temp1.rrd:temp:AVERAGE
> VDEF:powerA=countA,TOTAL
>
> This command never returns. If I remove the VDEF part, it works. I have
> tried to use an other rrd file, same result.
>
> I'm running rrdtool on a NSLU2 unit (ARM7 cpu) using Debian. I have tried
> with the motion package in debian and also compiled the sources from the
> trunk in the SVN archive, same result.
>
> Have I done something wrong in this command?


I don't think so. The same problem should occur when you try to
compute the average (this uses the same code). Please try:

VDEF:powerA=countA,AVERAGE

Does this hang as well?

It sounds like an endless loop, however I don't see how (and where)
this would happen.

Do you have a huge amount of rows to process, combined with a small
integer size perhaps?

Maybe you can add some debugging printf statements to the code,
look in rrd_graph.c near the end, function vdef_calc(). It would
be interesting to know if the code is reached and if it exits again.


--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:59 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0