Error Updating Could Not Lock Rrd
| Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Could not lock RRD Dear all, i have a small problem with the rrdtool.....or may be a bigger problem. when trying to update the rrd file, i get an error message "Could not lock RRD". I read some messages in the mailinglist that there are problems running the rrdtool over nfs. The rrd files are on a file server, and a processing server is connected to this file server through nfs to get the rrd files to process. Could someone help me in getting rid of this error message. Thanks a lot for your help cu ycae -- Yves Caetano Ubizen Security Analyst We Secure e-Business Phone +352 26 31 58 60 http://www.ubizen.comFax +352 26 31 58 69 http://www.securitywatch.com-- Attached file removed by Listar and put at URL below -- -- Type: application/x-pkcs7-signature -- Desc: S/MIME Cryptographic Signature -- Size: 2k (2925 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/34-smime.p7s-- Unsubscribe mailto:[hidden email]?subject=unsubscribe Help mailto:[hidden email]?subject=help Archive http://www.ee.ethz.ch/~slist/rrd-usersWebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi Alex van den Bogaerdt Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Could not lock RRD Yves Caetano wrote: > i have a small problem with the rrdtool.....or may be a bigger problem. > when trying to update the rrd file, i get an error message "Could not > lock RRD". I read some messages in the mailinglist that there are > problems running the rrdtool over nfs. Indeed there are. The problem is that locking over nfs cannot be done in a reliable way. > The rrd files are on a file server, and a processing server is connected > to this file server through nfs to get the rrd files to process. Let's give the two servers a name: A and B. What I think you said is: - on server A you have your RRD files - on server A you run "rrdtool update" - server B has mounted some of the disk of server A - on server B you run "rrdtool graph" and receive an error What probably works for you is to nfs mount the other way
Fri, 22 Jun 2007 19:27:27 +0100 Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=UbX9lkVwN214oXXenU93ihSocMNJrH63iUef63SM/4slRUkbJYA78RHEEmwIwxkW2qxuy/aUXNL2TIhSB1+vZ3vl1XND6tN9irFPaGJpJn/DGyfgaVtn2+cvyhEmTOcczq4mheqQanqCCrZP3oop6tqD6PvWf3gHpHvnzRU2oDk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FWe4rLKYBeYLpASjSAwVQ+rJuxD3ob/dZLMp29lRm0XpF7VD5+aekPxWGXxzQgwiqR8stBzzA5D7zlbiYtTp0SOhzC6/ikOy36gI1d/Ijv660AB/D0tiuQb+j0TqNrFrBnbSbIaZdSfkyEo49hblb/66EvoYCjodB5EFRmTXsa0= Hi I've just installed hobbit 4.2.0 on an http://rrd-mailinglists.937164.n2.nabble.com/Could-not-lock-RRD-td1064940.html archlinux box with rrdtool version 1.2.23-1. Looking at the logs I'm getting the following error every 30 seconds or so as it tries (I assume) to create the graphs: 2007-06-22 19:24:55 http://lists.xymon.com/oldarchive/2007/06/msg00344.html RRD error updating /var/sites/hobbit/non-secure//data/rrd/xxx/procs.rrd from 192.168.0.2: could not lock RRD I've googled and searched the archives but can't find any other mention of this error. Can anyone suggest a solution? Thanks Robin Follow-Ups: Re: [hobbit] I'm getting the error "could not lock RRD" From: Henrik Stoerner Prev by Date: Re: [hobbit] DURATION rules for specific host alerts Next by Date: hobbitfetch with Windows clients Previous by thread: Re: [hobbit] DURATION rules for specific host alerts Next by thread: Re: [hobbit] I'm getting the error "could not lock RRD" Index(es): Date Thread
usca1ex-priv1 ! sanmateo ! corp ! akamai ! com [Download message RAW] Just starting to try out rrdtool. Had some questions regarding it: 1. Why does this work? bash-2.05b$ rrdtool create mem.rrd --start 1074477204 --step 86400 DS:mem:GAUGE:86400:U:U RRA:AVERAGE:0.5:1:7 bash-2.05b$ rrdtool update mem.rrd 1074563604:169.877 1074650004:172.343 1074736404:170.233 bash-2.05b$ rrdtool fetch mem.rrd AVERAGE --start 1074477204 --end 1075168404 mem 1074470400: nan 1074556800: 1.6987700000e+02 1074643200: 1.7214880250e+02 1074729600: 1.7039916250e+02 and this doesnt? bash-2.05b$ rrdtool create test.rrd --start 920804400 DS:speed:COUNTER:600:U:U RRA:AVERAGE:0.5:1:24 RRA:AVERAGE:0.5:6:10 bash-2.05b$ rrdtool update test.rrd 920804700:12345 920805000:12357 920805300:12363 ERROR: could not lock RRD 2. Cant we update multiple DS's in different rrd's at the same time? Is there a global lock? 3. Also, does rrdtool log more detailed errors anywhere? Thanks, Prasanna -- 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://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi [prev in list] [next in list] [prev in thread] [next in thread] Configure | About | News | Addalist | SponsoredbyKoreLogic