rrdtool version 1.5.0 is out

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

rrdtool version 1.5.0 is out

oetiker
Administrator
Finally! RRDtool 1.5.0 is out.
Get a copy from http://www.rrdtool.org

A big thank you to the sponsors who are helping to fund my work on
rrdtool: http://www.wuerth-phoenix.com/ https://www.open.ch/
https://www.psw.net/ and http://www.irisns.com/

New Features
------------
* automatic x-axis labels that work from 1s to 30y on a single chart
* librados integration
* new datasource types: DCOUNTER and DDERIVE (they work the same as
  the original DS, except that they can deal with floatingpoint
  numbers).
* compile without graphics libraries: ./configure --disable-rrd_graph
* updated windows port (see WIN32-BUILD-TIPS.txt)
* single step RRAs for MIN,MAX,LAST are generated virtually from
  an AVERAGE RRA
* ignore updates in the past with rrdtool update --skip-past-updates
* ignore a LINE when scaling a chart using the skipscale option
* detect 32bit timeoverflows
* massive performance boost for charts with more than 100 DEF line
* by switching form a linear search to a HASH when searching for data
* improved cross compilation support
* .Net bindings
* allow rrdtool graph to silently skip non-existing source files
  using the --use-nan-for-all-missing-data option
* restore from a pipe (rrdtool restore - y.rrd)
* in rrdtool create, row count and step can be defined in absolute time
* all new "create on steroids" can pull both data and configuration
* from existing rrd files
* use rrdtool graph to chart arbitrary data via a callback function
  for data fetching support is integrated in the perl bindings.
* re-written parser for rrdtool graph commands. It now follows a
  simple key  value pattern, compatible with the previous syntax.
* MEDIAN op for CDEF expressions
* DEPTH,INDEX,COPY,ROL ops for CDEF (as seen in PostScript)
* gradient AREA backgrounds
* no more locale magic while reading numeric data.

Bugfixes
--------
all the bugs fixed in 1.4.x during 1.5 development


--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch [hidden email] +41 62 775 9902

_______________________________________________
rrd-developers mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: rrdtool version 1.5.0 is out

Stuart Henderson
On 2015-04-16, Tobias Oetiker <[hidden email]> wrote:
> Finally! RRDtool 1.5.0 is out.

I'm seeing a couple of issues with this update on OpenBSD (-current, amd64).

Firstly rrdcached is failing to start; segfault after startup, with the
following backtrace.

#0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
88 *__set &= ~(1U << ((__signo)-1)); /* sigmask(__signo) */
(gdb) thread apply all bt  

Thread 2 (process 26867):
#0  0x000003ba46c027a2 in _dl_mprotect () at /usr/src/libexec/ld.so/amd64/ldasm.S:91
#1  0x000003ba46c0706e in _dl_bind (object=0x3ba8d95e800, index=Variable "index" is not available.) at /usr/src/libexec/ld.so/amd64/rtld_machine.c:394
#2  0x000003ba46c028b9 in _dl_bind_start () at /usr/src/libexec/ld.so/amd64/ldasm.S:167
#3  0x000003ba77efbac7 in calloc (nmemb=1, size=48) at /usr/src/lib/libc/stdlib/malloc.c:1446
#4  0x000003ba6f81532b in pthread_mutex_init (mutexp=0x3b7aa815168, attr=0x0) at /usr/src/lib/librthread/rthread_sync.c:44
#5  0x000003ba6f8154f3 in _rthread_mutex_lock (mutexp=0x3b7aa815168, trywait=0, abstime=0x0) at /usr/src/lib/librthread/rthread_sync.c:100
#6  0x000003b7aa60a288 in journal_init () at rrd_daemon.c:2950
#7  0x000003b7aa60ce85 in main (argc=Variable "argc" is not available.) at rrd_daemon.c:4239
Current language:  auto; currently asm

Thread 1 (process 7573):
#0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
#1  0x000003b7aa604c26 in signal_receiver (args=Variable "args" is not available.) at rrd_daemon.c:347
#2  0x000003ba6f812c6e in _rthread_start (v=Variable "v" is not available.) at /usr/src/lib/librthread/rthread.c:145
#3  0x000003ba77eaa8fb in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
#4  0x0000000000000000 in ?? ()
Current language:  auto; currently c

Secondly smokeping fails to produce most (but not all) graphs, it looks
like possibly the new parser doesn't handle this cdef line?

CDEF:mesd=median,POP,avmed,0.000118036859735616,/

Full text from the error included below.

Any ideas for either of these? Thanks.



--snip-- -- -- -- --
ERROR: don't undestand '0.000118036859735616,/'
/var/www/htdocs/smokeping/cache/Net/gr1-pl7_last_10800.png
--start
-10800
--height
200
--width
600
--title
Last 3 Hours
--rigid
--upper-limit
0.02831424
--lower-limit
0
--vertical-label
Seconds
--imgformat
PNG
--color
SHADEA#ffffff
--color
SHADEB#ffffff
--color
BACK#ffffff
--color
CANVAS#ffffff
DEF:ping1=/var/db/smokeping/Net/gr1-pl7.rrd:ping1:AVERAGE
DEF:ping2=/var/db/smokeping/Net/gr1-pl7.rrd:ping2:AVERAGE
DEF:ping3=/var/db/smokeping/Net/gr1-pl7.rrd:ping3:AVERAGE
DEF:ping4=/var/db/smokeping/Net/gr1-pl7.rrd:ping4:AVERAGE
DEF:ping5=/var/db/smokeping/Net/gr1-pl7.rrd:ping5:AVERAGE
DEF:ping6=/var/db/smokeping/Net/gr1-pl7.rrd:ping6:AVERAGE
DEF:ping7=/var/db/smokeping/Net/gr1-pl7.rrd:ping7:AVERAGE
DEF:ping8=/var/db/smokeping/Net/gr1-pl7.rrd:ping8:AVERAGE
DEF:ping9=/var/db/smokeping/Net/gr1-pl7.rrd:ping9:AVERAGE
DEF:ping10=/var/db/smokeping/Net/gr1-pl7.rrd:ping10:AVERAGE
DEF:ping11=/var/db/smokeping/Net/gr1-pl7.rrd:ping11:AVERAGE
DEF:ping12=/var/db/smokeping/Net/gr1-pl7.rrd:ping12:AVERAGE
DEF:ping13=/var/db/smokeping/Net/gr1-pl7.rrd:ping13:AVERAGE
DEF:ping14=/var/db/smokeping/Net/gr1-pl7.rrd:ping14:AVERAGE
DEF:ping15=/var/db/smokeping/Net/gr1-pl7.rrd:ping15:AVERAGE
DEF:ping16=/var/db/smokeping/Net/gr1-pl7.rrd:ping16:AVERAGE
DEF:ping17=/var/db/smokeping/Net/gr1-pl7.rrd:ping17:AVERAGE
DEF:ping18=/var/db/smokeping/Net/gr1-pl7.rrd:ping18:AVERAGE
DEF:ping19=/var/db/smokeping/Net/gr1-pl7.rrd:ping19:AVERAGE
DEF:ping20=/var/db/smokeping/Net/gr1-pl7.rrd:ping20:AVERAGE
CDEF:cp1=ping1,0.02831424,LT,ping1,INF,IF
CDEF:cp2=ping2,0.02831424,LT,ping2,INF,IF
CDEF:cp3=ping3,0.02831424,LT,ping3,INF,IF
CDEF:cp4=ping4,0.02831424,LT,ping4,INF,IF
CDEF:cp5=ping5,0.02831424,LT,ping5,INF,IF
CDEF:cp6=ping6,0.02831424,LT,ping6,INF,IF
CDEF:cp7=ping7,0.02831424,LT,ping7,INF,IF
CDEF:cp8=ping8,0.02831424,LT,ping8,INF,IF
CDEF:cp9=ping9,0.02831424,LT,ping9,INF,IF
CDEF:cp10=ping10,0.02831424,LT,ping10,INF,IF
CDEF:cp11=ping11,0.02831424,LT,ping11,INF,IF
CDEF:cp12=ping12,0.02831424,LT,ping12,INF,IF
CDEF:cp13=ping13,0.02831424,LT,ping13,INF,IF
CDEF:cp14=ping14,0.02831424,LT,ping14,INF,IF
CDEF:cp15=ping15,0.02831424,LT,ping15,INF,IF
CDEF:cp16=ping16,0.02831424,LT,ping16,INF,IF
CDEF:cp17=ping17,0.02831424,LT,ping17,INF,IF
CDEF:cp18=ping18,0.02831424,LT,ping18,INF,IF
CDEF:cp19=ping19,0.02831424,LT,ping19,INF,IF
CDEF:cp20=ping20,0.02831424,LT,ping20,INF,IF
DEF:loss=/var/db/smokeping/Net/gr1-pl7.rrd:loss:AVERAGE
CDEF:smoke1=cp1,UN,UNKN,cp20,cp1,-,IF
AREA:cp1
STACK:smoke1#dddddd
CDEF:smoke2=cp2,UN,UNKN,cp19,cp2,-,IF
AREA:cp2
STACK:smoke2#cacaca
CDEF:smoke3=cp3,UN,UNKN,cp18,cp3,-,IF
AREA:cp3
STACK:smoke3#b7b7b7
CDEF:smoke4=cp4,UN,UNKN,cp17,cp4,-,IF
AREA:cp4
STACK:smoke4#a4a4a4
CDEF:smoke5=cp5,UN,UNKN,cp16,cp5,-,IF
AREA:cp5
STACK:smoke5#919191
CDEF:smoke6=cp6,UN,UNKN,cp15,cp6,-,IF
AREA:cp6
STACK:smoke6#7e7e7e
CDEF:smoke7=cp7,UN,UNKN,cp14,cp7,-,IF
AREA:cp7
STACK:smoke7#6b6b6b
CDEF:smoke8=cp8,UN,UNKN,cp13,cp8,-,IF
AREA:cp8
STACK:smoke8#585858
CDEF:smoke9=cp9,UN,UNKN,cp12,cp9,-,IF
AREA:cp9
STACK:smoke9#454545
CDEF:smoke10=cp10,UN,UNKN,cp11,cp10,-,IF
AREA:cp10
STACK:smoke10#323232
DEF:median=/var/db/smokeping/Net/gr1-pl7.rrd:median:AVERAGE
CDEF:ploss=loss,20,/,100,*
VDEF:avmed=median,AVERAGE
CDEF:mesd=median,POP,avmed,0.000118036859735616,/
GPRINT:avmed:median rtt\: %.1lf %ss avg
GPRINT:median:MAX:%.1lf %ss max
GPRINT:median:MIN:%.1lf %ss min
GPRINT:median:LAST:%.1lf %ss now
COMMENT:0.1 ms sd
GPRINT:mesd:AVERAGE:%.1lf %s am/s\l
LINE1:median#202020
GPRINT:ploss:AVERAGE:packet loss\: %.2lf %% avg
GPRINT:ploss:MAX:%.2lf %% max
GPRINT:ploss:MIN:%.2lf %% min
GPRINT:ploss:LAST:%.2lf %% now\l
COMMENT:loss color\:
CDEF:me0=loss,-1,GT,loss,0,LE,*,1,UNKN,IF,median,*
CDEF:meL0=me0,0.0001415712,-
CDEF:meH0=me0,0,*,0.0001415712,2,*,+
AREA:meL0
STACK:meH0#26ff00:0
CDEF:me1=loss,0,GT,loss,1,LE,*,1,UNKN,IF,median,*
CDEF:meL1=me1,0.0001415712,-
CDEF:meH1=me1,0,*,0.0001415712,2,*,+
AREA:meL1
STACK:meH1#00b8ff:1/20
CDEF:me2=loss,1,GT,loss,2,LE,*,1,UNKN,IF,median,*
CDEF:meL2=me2,0.0001415712,-
CDEF:meH2=me2,0,*,0.0001415712,2,*,+
AREA:meL2
STACK:meH2#0059ff:2/20
CDEF:me3=loss,2,GT,loss,3,LE,*,1,UNKN,IF,median,*
CDEF:meL3=me3,0.0001415712,-
CDEF:meH3=me3,0,*,0.0001415712,2,*,+
AREA:meL3
STACK:meH3#5e00ff:3/20
CDEF:me4=loss,3,GT,loss,4,LE,*,1,UNKN,IF,median,*
CDEF:meL4=me4,0.0001415712,-
CDEF:meH4=me4,0,*,0.0001415712,2,*,+
AREA:meL4
STACK:meH4#7e00ff:4/20
CDEF:me10=loss,4,GT,loss,10,LE,*,1,UNKN,IF,median,*
CDEF:meL10=me10,0.0001415712,-
CDEF:meH10=me10,0,*,0.0001415712,2,*,+
AREA:meL10
STACK:meH10#dd00ff:10/20
CDEF:me19=loss,10,GT,loss,19,LE,*,1,UNKN,IF,median,*
CDEF:meL19=me19,0.0001415712,-
CDEF:meH19=me19,0,*,0.0001415712,2,*,+
AREA:meL19
STACK:meH19#ff0000:19/20
COMMENT: \l
HRULE:0#000000
COMMENT:probe\: 20 ICMP Echo Pings (56 Bytes) every 300s
COMMENT:end\: Mon Apr 20 12\:44\:05 2015\j
--snip-- -- -- -- --


_______________________________________________
rrd-developers mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: rrdtool version 1.5.0 is out

oetiker
Administrator
Hi Stuart

the CDEF issue is fixed on github.
the problem was the parsing of long numbers ...

cheers
tobi

Tobias Oetiker
[hidden email]
062 775 9902

> On 20.04.2015, at 14:07, Stuart Henderson <[hidden email]> wrote:
>
>> On 2015-04-16, Tobias Oetiker <[hidden email]> wrote:
>> Finally! RRDtool 1.5.0 is out.
>
> I'm seeing a couple of issues with this update on OpenBSD (-current, amd64).
>
> Firstly rrdcached is failing to start; segfault after startup, with the
> following backtrace.
>
> #0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
> 88        *__set &= ~(1U << ((__signo)-1));    /* sigmask(__signo) */
> (gdb) thread apply all bt  
>
> Thread 2 (process 26867):
> #0  0x000003ba46c027a2 in _dl_mprotect () at /usr/src/libexec/ld.so/amd64/ldasm.S:91
> #1  0x000003ba46c0706e in _dl_bind (object=0x3ba8d95e800, index=Variable "index" is not available.) at /usr/src/libexec/ld.so/amd64/rtld_machine.c:394
> #2  0x000003ba46c028b9 in _dl_bind_start () at /usr/src/libexec/ld.so/amd64/ldasm.S:167
> #3  0x000003ba77efbac7 in calloc (nmemb=1, size=48) at /usr/src/lib/libc/stdlib/malloc.c:1446
> #4  0x000003ba6f81532b in pthread_mutex_init (mutexp=0x3b7aa815168, attr=0x0) at /usr/src/lib/librthread/rthread_sync.c:44
> #5  0x000003ba6f8154f3 in _rthread_mutex_lock (mutexp=0x3b7aa815168, trywait=0, abstime=0x0) at /usr/src/lib/librthread/rthread_sync.c:100
> #6  0x000003b7aa60a288 in journal_init () at rrd_daemon.c:2950
> #7  0x000003b7aa60ce85 in main (argc=Variable "argc" is not available.) at rrd_daemon.c:4239
> Current language:  auto; currently asm
>
> Thread 1 (process 7573):
> #0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
> #1  0x000003b7aa604c26 in signal_receiver (args=Variable "args" is not available.) at rrd_daemon.c:347
> #2  0x000003ba6f812c6e in _rthread_start (v=Variable "v" is not available.) at /usr/src/lib/librthread/rthread.c:145
> #3  0x000003ba77eaa8fb in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
> #4  0x0000000000000000 in ?? ()
> Current language:  auto; currently c
>
> Secondly smokeping fails to produce most (but not all) graphs, it looks
> like possibly the new parser doesn't handle this cdef line?
>
> CDEF:mesd=median,POP,avmed,0.000118036859735616,/
>
> Full text from the error included below.
>
> Any ideas for either of these? Thanks.
>
>
>
> --snip-- -- -- -- --
> ERROR: don't undestand '0.000118036859735616,/'
> /var/www/htdocs/smokeping/cache/Net/gr1-pl7_last_10800.png
> --start
> -10800
> --height
> 200
> --width
> 600
> --title
> Last 3 Hours
> --rigid
> --upper-limit
> 0.02831424
> --lower-limit
> 0
> --vertical-label
> Seconds
> --imgformat
> PNG
> --color
> SHADEA#ffffff
> --color
> SHADEB#ffffff
> --color
> BACK#ffffff
> --color
> CANVAS#ffffff
> DEF:ping1=/var/db/smokeping/Net/gr1-pl7.rrd:ping1:AVERAGE
> DEF:ping2=/var/db/smokeping/Net/gr1-pl7.rrd:ping2:AVERAGE
> DEF:ping3=/var/db/smokeping/Net/gr1-pl7.rrd:ping3:AVERAGE
> DEF:ping4=/var/db/smokeping/Net/gr1-pl7.rrd:ping4:AVERAGE
> DEF:ping5=/var/db/smokeping/Net/gr1-pl7.rrd:ping5:AVERAGE
> DEF:ping6=/var/db/smokeping/Net/gr1-pl7.rrd:ping6:AVERAGE
> DEF:ping7=/var/db/smokeping/Net/gr1-pl7.rrd:ping7:AVERAGE
> DEF:ping8=/var/db/smokeping/Net/gr1-pl7.rrd:ping8:AVERAGE
> DEF:ping9=/var/db/smokeping/Net/gr1-pl7.rrd:ping9:AVERAGE
> DEF:ping10=/var/db/smokeping/Net/gr1-pl7.rrd:ping10:AVERAGE
> DEF:ping11=/var/db/smokeping/Net/gr1-pl7.rrd:ping11:AVERAGE
> DEF:ping12=/var/db/smokeping/Net/gr1-pl7.rrd:ping12:AVERAGE
> DEF:ping13=/var/db/smokeping/Net/gr1-pl7.rrd:ping13:AVERAGE
> DEF:ping14=/var/db/smokeping/Net/gr1-pl7.rrd:ping14:AVERAGE
> DEF:ping15=/var/db/smokeping/Net/gr1-pl7.rrd:ping15:AVERAGE
> DEF:ping16=/var/db/smokeping/Net/gr1-pl7.rrd:ping16:AVERAGE
> DEF:ping17=/var/db/smokeping/Net/gr1-pl7.rrd:ping17:AVERAGE
> DEF:ping18=/var/db/smokeping/Net/gr1-pl7.rrd:ping18:AVERAGE
> DEF:ping19=/var/db/smokeping/Net/gr1-pl7.rrd:ping19:AVERAGE
> DEF:ping20=/var/db/smokeping/Net/gr1-pl7.rrd:ping20:AVERAGE
> CDEF:cp1=ping1,0.02831424,LT,ping1,INF,IF
> CDEF:cp2=ping2,0.02831424,LT,ping2,INF,IF
> CDEF:cp3=ping3,0.02831424,LT,ping3,INF,IF
> CDEF:cp4=ping4,0.02831424,LT,ping4,INF,IF
> CDEF:cp5=ping5,0.02831424,LT,ping5,INF,IF
> CDEF:cp6=ping6,0.02831424,LT,ping6,INF,IF
> CDEF:cp7=ping7,0.02831424,LT,ping7,INF,IF
> CDEF:cp8=ping8,0.02831424,LT,ping8,INF,IF
> CDEF:cp9=ping9,0.02831424,LT,ping9,INF,IF
> CDEF:cp10=ping10,0.02831424,LT,ping10,INF,IF
> CDEF:cp11=ping11,0.02831424,LT,ping11,INF,IF
> CDEF:cp12=ping12,0.02831424,LT,ping12,INF,IF
> CDEF:cp13=ping13,0.02831424,LT,ping13,INF,IF
> CDEF:cp14=ping14,0.02831424,LT,ping14,INF,IF
> CDEF:cp15=ping15,0.02831424,LT,ping15,INF,IF
> CDEF:cp16=ping16,0.02831424,LT,ping16,INF,IF
> CDEF:cp17=ping17,0.02831424,LT,ping17,INF,IF
> CDEF:cp18=ping18,0.02831424,LT,ping18,INF,IF
> CDEF:cp19=ping19,0.02831424,LT,ping19,INF,IF
> CDEF:cp20=ping20,0.02831424,LT,ping20,INF,IF
> DEF:loss=/var/db/smokeping/Net/gr1-pl7.rrd:loss:AVERAGE
> CDEF:smoke1=cp1,UN,UNKN,cp20,cp1,-,IF
> AREA:cp1
> STACK:smoke1#dddddd
> CDEF:smoke2=cp2,UN,UNKN,cp19,cp2,-,IF
> AREA:cp2
> STACK:smoke2#cacaca
> CDEF:smoke3=cp3,UN,UNKN,cp18,cp3,-,IF
> AREA:cp3
> STACK:smoke3#b7b7b7
> CDEF:smoke4=cp4,UN,UNKN,cp17,cp4,-,IF
> AREA:cp4
> STACK:smoke4#a4a4a4
> CDEF:smoke5=cp5,UN,UNKN,cp16,cp5,-,IF
> AREA:cp5
> STACK:smoke5#919191
> CDEF:smoke6=cp6,UN,UNKN,cp15,cp6,-,IF
> AREA:cp6
> STACK:smoke6#7e7e7e
> CDEF:smoke7=cp7,UN,UNKN,cp14,cp7,-,IF
> AREA:cp7
> STACK:smoke7#6b6b6b
> CDEF:smoke8=cp8,UN,UNKN,cp13,cp8,-,IF
> AREA:cp8
> STACK:smoke8#585858
> CDEF:smoke9=cp9,UN,UNKN,cp12,cp9,-,IF
> AREA:cp9
> STACK:smoke9#454545
> CDEF:smoke10=cp10,UN,UNKN,cp11,cp10,-,IF
> AREA:cp10
> STACK:smoke10#323232
> DEF:median=/var/db/smokeping/Net/gr1-pl7.rrd:median:AVERAGE
> CDEF:ploss=loss,20,/,100,*
> VDEF:avmed=median,AVERAGE
> CDEF:mesd=median,POP,avmed,0.000118036859735616,/
> GPRINT:avmed:median rtt\: %.1lf %ss avg
> GPRINT:median:MAX:%.1lf %ss max
> GPRINT:median:MIN:%.1lf %ss min
> GPRINT:median:LAST:%.1lf %ss now
> COMMENT:0.1 ms sd
> GPRINT:mesd:AVERAGE:%.1lf %s am/s\l
> LINE1:median#202020
> GPRINT:ploss:AVERAGE:packet loss\: %.2lf %% avg
> GPRINT:ploss:MAX:%.2lf %% max
> GPRINT:ploss:MIN:%.2lf %% min
> GPRINT:ploss:LAST:%.2lf %% now\l
> COMMENT:loss color\:
> CDEF:me0=loss,-1,GT,loss,0,LE,*,1,UNKN,IF,median,*
> CDEF:meL0=me0,0.0001415712,-
> CDEF:meH0=me0,0,*,0.0001415712,2,*,+
> AREA:meL0
> STACK:meH0#26ff00:0
> CDEF:me1=loss,0,GT,loss,1,LE,*,1,UNKN,IF,median,*
> CDEF:meL1=me1,0.0001415712,-
> CDEF:meH1=me1,0,*,0.0001415712,2,*,+
> AREA:meL1
> STACK:meH1#00b8ff:1/20
> CDEF:me2=loss,1,GT,loss,2,LE,*,1,UNKN,IF,median,*
> CDEF:meL2=me2,0.0001415712,-
> CDEF:meH2=me2,0,*,0.0001415712,2,*,+
> AREA:meL2
> STACK:meH2#0059ff:2/20
> CDEF:me3=loss,2,GT,loss,3,LE,*,1,UNKN,IF,median,*
> CDEF:meL3=me3,0.0001415712,-
> CDEF:meH3=me3,0,*,0.0001415712,2,*,+
> AREA:meL3
> STACK:meH3#5e00ff:3/20
> CDEF:me4=loss,3,GT,loss,4,LE,*,1,UNKN,IF,median,*
> CDEF:meL4=me4,0.0001415712,-
> CDEF:meH4=me4,0,*,0.0001415712,2,*,+
> AREA:meL4
> STACK:meH4#7e00ff:4/20
> CDEF:me10=loss,4,GT,loss,10,LE,*,1,UNKN,IF,median,*
> CDEF:meL10=me10,0.0001415712,-
> CDEF:meH10=me10,0,*,0.0001415712,2,*,+
> AREA:meL10
> STACK:meH10#dd00ff:10/20
> CDEF:me19=loss,10,GT,loss,19,LE,*,1,UNKN,IF,median,*
> CDEF:meL19=me19,0.0001415712,-
> CDEF:meH19=me19,0,*,0.0001415712,2,*,+
> AREA:meL19
> STACK:meH19#ff0000:19/20
> COMMENT: \l
> HRULE:0#000000
> COMMENT:probe\: 20 ICMP Echo Pings (56 Bytes) every 300s
> COMMENT:end\: Mon Apr 20 12\:44\:05 2015\j
> --snip-- -- -- -- --
>
>
> _______________________________________________
> rrd-developers mailing list
> [hidden email]
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
>

_______________________________________________
rrd-developers mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: rrdtool version 1.5.0 is out

Stuart Henderson
In reply to this post by Stuart Henderson
On 2015-04-20, Stuart Henderson <[hidden email]> wrote:

> On 2015-04-16, Tobias Oetiker <[hidden email]> wrote:
>> Finally! RRDtool 1.5.0 is out.
>
> I'm seeing a couple of issues with this update on OpenBSD (-current, amd64).
>
> Firstly rrdcached is failing to start; segfault after startup, with the
> following backtrace.
>
> #0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
> 88 *__set &= ~(1U << ((__signo)-1)); /* sigmask(__signo) */
..
> Thread 1 (process 7573):
> #0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
> #1  0x000003b7aa604c26 in signal_receiver (args=Variable "args" is not available.) at rrd_daemon.c:347
> #2  0x000003ba6f812c6e in _rthread_start (v=Variable "v" is not available.) at /usr/src/lib/librthread/rthread.c:145
> #3  0x000003ba77eaa8fb in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
> #4  0x0000000000000000 in ?? ()
> Current language:  auto; currently c

I finally got around to looking at this one again. I think it's as simple as this.

--- src/rrd_daemon.c.orig Mon Nov 23 10:51:22 2015
+++ src/rrd_daemon.c Mon Nov 23 10:51:00 2015
@@ -344,7 +344,7 @@ static void* signal_receiver (void UNUSED(*args))
     status = sigwaitinfo(&signal_set, &signal_info);
 #elif defined(HAVE_SIGWAIT)
     status = -1;
-    if (sigwait(signal_set, &status) < 0 ){
+    if (sigwait(&signal_set, &status) < 0 ){
        status = -1;
     }
 #else


_______________________________________________
rrd-developers mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: rrdtool version 1.5.0 is out

oetiker
Administrator
Hi Stuart,

this is alrady fixed ... check github.com/oetiker/rrdtool-1.x

cheers
tobi

Today Stuart Henderson wrote:

> On 2015-04-20, Stuart Henderson <[hidden email]> wrote:
> > On 2015-04-16, Tobias Oetiker <[hidden email]> wrote:
> >> Finally! RRDtool 1.5.0 is out.
> >
> > I'm seeing a couple of issues with this update on OpenBSD (-current, amd64).
> >
> > Firstly rrdcached is failing to start; segfault after startup, with the
> > following backtrace.
> >
> > #0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
> > 88 *__set &= ~(1U << ((__signo)-1)); /* sigmask(__signo) */
> ..
> > Thread 1 (process 7573):
> > #0  sigwait (set=0xffffffff, sig=0x3ba61203744) at signal.h:88
> > #1  0x000003b7aa604c26 in signal_receiver (args=Variable "args" is not available.) at rrd_daemon.c:347
> > #2  0x000003ba6f812c6e in _rthread_start (v=Variable "v" is not available.) at /usr/src/lib/librthread/rthread.c:145
> > #3  0x000003ba77eaa8fb in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:75
> > #4  0x0000000000000000 in ?? ()
> > Current language:  auto; currently c
>
> I finally got around to looking at this one again. I think it's as simple as this.
>
> --- src/rrd_daemon.c.orig Mon Nov 23 10:51:22 2015
> +++ src/rrd_daemon.c Mon Nov 23 10:51:00 2015
> @@ -344,7 +344,7 @@ static void* signal_receiver (void UNUSED(*args))
>      status = sigwaitinfo(&signal_set, &signal_info);
>  #elif defined(HAVE_SIGWAIT)
>      status = -1;
> -    if (sigwait(signal_set, &status) < 0 ){
> +    if (sigwait(&signal_set, &status) < 0 ){
>         status = -1;
>      }
>  #else
>
>
> _______________________________________________
> rrd-developers mailing list
> [hidden email]
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
>
>

--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch [hidden email] +41 62 775 9902

_______________________________________________
rrd-developers mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: rrdtool version 1.5.0 is out

oetiker
Administrator
Hi Stuart,

done
tobi

Today Stuart Henderson wrote:

> On 2015/11/23 12:02, Tobias Oetiker wrote:
> > Hi Stuart,
> >
> > this is alrady fixed ... check github.com/oetiker/rrdtool-1.x
>
> Ah - could you pull it back to the 1.5 branch please? Thanks!
>
>

--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch [hidden email] +41 62 775 9902

_______________________________________________
rrd-developers mailing list
[hidden email]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
Loading...