[rrd-users] Re: Multi threaded Perl scripts using RRDTool

Richard Burton richard at atomwide.com
Wed Sep 6 16:56:23 MEST 2006


Hi Alex

Thanks for the reply, I really need to run multiple rrdupdates at the
same time as I have loads of data in text files to turn in to RRD files
and running 1 update command at a time isn't quick enough to keep up
with the amounts of text files I am producing.

Thanks anyway :-)

Richard

> > I have read past posts on the problems people have been having with
> > writing multi threaded Perl scripts with RRDTool.
> > 
> > I am trying to write one which uses rrdupdate and rrdcreate 
> via the perl
> > bindings and the script crashes.
> > 
> > Would it be true to say that there is not way at present I 
> am going to
> > get this working? Alternatively does anyone have any ideas 
> as to what I
> > can do short of rewriting the whole thing in C.
> 
> 
> Try one of these:
> 
> 1: some kind of internal locking.  Only one thread at a time may call
> rrdtool (update, create, or whatever other sub program).
> 
> 2: have one thread communicating with rrdtool.  Other threads 
> communicate
> with this single thread to get something done.
> 
> HTH
> -- 
> Alex van den Bogaerdt
> http://www.vandenbogaerdt.nl/rrdtool/

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list