[rrd-users] [rrd-developers] RRDTOOL 1.3.6 (rrd_update hangs)
swami at infineta.com
Tue Mar 30 03:16:10 CEST 2010
I am happy that i was able to reproduce the issue few minutes ago on seeing your mail .
I had my double on ntp date/time and I just changed the system time to 1 day ago explcitily using "date -s" command and my module started hogging CPU to 99% and one of the thread (rrd_update) was doing something.
Is it that when time goes back in the past , rrd_update starts doing something ? If yes, what and how can this be prevented because this is normal when you use NTP server for system time and it could go in the past or future at times.
Any thoughts / suggestions appreciated .
----- Original Message -----
From: kevin brintnall
Cc: rrd-users at lists.oetiker.ch ; rrd-developers at lists.oetiker.ch
Sent: Monday, March 29, 2010 5:48 PM
Subject: Re: [rrd-developers] RRDTOOL 1.3.6 (rrd_update hangs)
Could you compile with debugging symbols (-g) and re-run the test?
Are you having this problem consistently with the same RRDs?
Is it possible that you are updating the same RRD concurrently in two threads ?
How many updates are you passing to rrd_update_r for a single RRD?
On Mon, Mar 29, 2010 at 7:12 PM, swami <swami at infineta.com> wrote:
Something weird i am seeing at times with rrdtool version 1.3.6 i am using.
One of my module starts threads and one of the thread updates an rrd and i find at times its consuming 99% of CPU vs the normal being 2-3 %(2 out of around 15 times i tried restart module).With gdb , i found one of the threads was hung as per the gdb backtrace below
#0 0x2ca3aa14 in memcpy ()
#1 0x2adcfed0 in rrd_write ()
#2 0x2add4378 in write_to_rras ()
#3 0x2add4ff8 in process_arg ()
#4 0x2add6408 in _rrd_update ()
#5 0x100176e8 in data_collector_service_class_thread_func (ptr=0x0)
at src/service_class_data_collector.c:832 =======================> there is rrd_update_r happening here
#6 0x2cc0dea0 in start_thread (arg=<value optimized out>)
#7 0x2ca9639c in __thread_start () from /lib32/libc.so.6
#8 0x2ca9639c in __thread_start () from /lib32/libc.so.6
Any idea what this is and any patch for it already available ?
rrd-developers mailing list
rrd-developers at lists.oetiker.ch
kevin brintnall =~ /kbrint at rufus.net/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rrd-users