Error 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 rrds update error could not lock rrd trying to update the rrd file, i get an error message "Could not lock could not lock rrd nfs RRD". I read some messages in the mailinglist that there are problems running the rrdtool over nfs. The rrd files are on rrdtool could not lock rrd 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 around; let server
locked") Next message: [follow-up] Re: ERROR updating file.rrd: could not lock RRD (was "Re: rrd not getting locked") Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] On Fri, 18 Aug 2000, Dave Plonka wrote: > The most common cause of Unix file-locking failing is if you do it http://rrd-mailinglists.937164.n2.nabble.com/Could-not-lock-RRD-td1064940.html on > an NFS file-system and there's problems with the NFS statd or lockd > daemons. Your ".rrd" files aren't on an NFS mounted file-system are > they? (That yields horrendous update performance anyway.) Ding! Yeah, it's using a linux NFS server, without file locking support. Methinks http://lists.wiscnet.net/pipermail/flowscan/2000-August/000759.html RRDTool might be requesting a lock. Here's the strace output, for the record: fcntl(3, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 ENOLCK (No locks available) close(3) = 0 munmap(0x40016000, 4096) = 0 write(2, "ERROR updating /usr/local/arts/d"..., 93) = -1 EIO (Input/output error) As an observation, it's interesting that I haven't run into this problem with CFlowd as well. > Dave wfms -- Help mailto:majordomo at net.doit.wisc.edu and say "help" in message body Unsubscribe mailto:majordomo at net.doit.wisc.edu and say "unsubscribe flowscan" in message body Archive http://net.doit.wisc.edu/~plonka/list/flowscan/archive/ Previous message: ERROR updating file.rrd: could not lock RRD (was "Re: rrd not getting locked") Next message: [follow-up] Re: ERROR updating file.rrd: could not lock RRD (was "Re: rrd not getting locked") Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the flowscan mailing list
by: [ date ] [ thread could not ] [ subject ] [ author ] Raj Subramaniyan wrote: >message when I try to update. Any suggestions? > > Read the could not lock documents for rrdtool update. Something is missing in you command. Augusto -- 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 Previous message: [rrd-users] ERROR: could not lock RRD Next message: [rrd-users] Re: ERROR: could not lock RRD Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the rrd-users mailing list
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