<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18385" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2> Something weird i am
seeing at times with rrdtool version 1.3.6 i am using.</FONT></DIV>
<DIV><FONT face=Arial size=2>One of my module starts threads and one of the
thread updates an rrd and i find at times its </FONT><FONT face=Arial
size=2>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</FONT></DIV>
<DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(gdb) bt<BR>#0 0x2ca3aa14 in memcpy
()<BR> at
../ports/sysdeps/unix/sysv/linux/mips/nptl/lowlevellock.h:195<BR>#1
0x2adcfed0 in rrd_write ()<BR> from
/usr/local/third-party/rrd/lib/librrd_th.so.4<BR>#2 0x2add4378 in
write_to_rras ()<BR> from
/usr/local/third-party/rrd/lib/librrd_th.so.4<BR>#3 0x2add4ff8 in
process_arg ()<BR> from
/usr/local/third-party/rrd/lib/librrd_th.so.4<BR>#4 0x2add6408 in
_rrd_update ()<BR> from
/usr/local/third-party/rrd/lib/librrd_th.so.4<BR>#5 0x100176e8 in
data_collector_service_class_thread_func (ptr=0x0)<BR> at
<STRONG>src/service_class_data_collector.c:832 =======================>
there is rrd_update_r happening here</STRONG><BR>#6 0x2cc0dea0 in
start_thread (arg=<value optimized out>)<BR> at
pthread_create.c:263<BR>#7 0x2ca9639c in __thread_start () from
/lib32/libc.so.6<BR>#8 0x2ca9639c in __thread_start () from
/lib32/libc.so.6</FONT></DIV></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Any idea what this is and any patch for it already
available ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>swami</FONT></DIV></BODY></HTML>