RRDTOOL 1.3.6 (rrd_update hangs)

"swami" <[email protected]>
Newsgroups gmane.comp.db.rrdtool.devel,gmane.comp.db.rrdtool.user
Message-ID <E2E6A9AF5E8F4730B148383987C604FB@SWAMIPC>
Hi,
     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

(gdb) bt
#0  0x2ca3aa14 in memcpy ()
    at ../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h:195
#1  0x2adcfed0 in rrd_write ()
   from /usr/local/third-party/rrd/lib/librrd_th.so.4
#2  0x2add4378 in write_to_rras ()
   from /usr/local/third-party/rrd/lib/librrd_th.so.4
#3  0x2add4ff8 in process_arg ()
   from /usr/local/third-party/rrd/lib/librrd_th.so.4
#4  0x2add6408 in _rrd_update ()
   from /usr/local/third-party/rrd/lib/librrd_th.so.4
#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>)
    at pthread_create.c:263
#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 ?


Regards
swami

_______________________________________________
rrd-developers mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.