This is a discussion on Re: [rrd-users] backup of the rrd file within the RRD Users forums, part of the Networking and Network Related category; --===============1161172753== Content-Type: multipart/alternative; boundary=Apple-Mail-1-468714459 --Apple-Mail-1-468714459 Content-Transfer-Encoding: 7bit Content-Type: ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
--===============1161172753== Content-Type: multipart/alternative; boundary=Apple-Mail-1-468714459 --Apple-Mail-1-468714459 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hello, Am 18.11.2007 um 18:52 schrieb Fabien Wernli: > On Sun, Nov 11, 2007 at 05:10:49PM +0100, Peter Mueller wrote: >> lock is released? Can the rrd file become inconsistent? > > You should be safe. One way to put it is you don't care about that > when you run another rrdtool process to graph the data you're > currently > writing to, do you? there might be 3 processes: 1) one writing 2) one reading (web server) 3) one doing the copy It might be unrealistic that all 3 run at exactly the same time. But you never know. I think 1 and 2 at the same time is no problem. But what happes when 1 and 3 runs at the same time. Is the copy ok or corrupt? Regards, Peter -- Peter Mueller peter.o.mueller@gmx.de --Apple-Mail-1-468714459 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=US-ASCII <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "> <div>Hello,</div><div><br class=3D"webkit-block-placeholder"></div><div>Am= 18.11.2007 um 18:52 schrieb Fabien Wernli:</div><div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">On Sun, Nov 11, 2007 at 05:10:49PM +0100, Peter = Mueller wrote:</div> <blockquote type=3D"cite"><div style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">lock is = released? Can the rrd file become inconsistent?</div> </blockquote><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; min-height: 14px; "><br></div><div style=3D"margin-top: = 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">You = should be safe. One way to put it is you don't care about that</div><div = style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; ">when you run another rrdtool process to graph the = data you're currently</div><div style=3D"margin-top: 0px; margin-right: = 0px; margin-bottom: 0px; margin-left: 0px; ">writing to, do you?</div> = </blockquote></div><br><div><div>there might be 3 = processes:</div><div><br class=3D"webkit-block-placeholder"></div><div>1) = one writing</div><div>2) one reading (web server)</div><div>3) one doing = the copy</div><div><br class=3D"webkit-block-placeholder"></div><div>It = might be unrealistic that all 3 run at exactly the same time. But you = never know.</div><div><br class=3D"webkit-block-placeholder"></div><div>I = think 1 and 2 at the same time is no problem. But what happes when 1 and = 3 runs</div><div>at the same time. Is the copy ok or = corrupt?</div><div><br = class=3D"webkit-block-placeholder"></div><div>Regards,</div><div>Peter</di= v><div><br class=3D"webkit-block-placeholder"></div></div><br><br><div> = <span class=3D"Apple-style-span" style=3D"border-collapse: separate; = border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; = font-size: 16px; font-style: normal; font-variant: normal; font-weight: = normal; letter-spacing: normal; line-height: normal; text-align: auto; = -khtml-text-decorations-in-effect: none; text-indent: 0px; = -apple-text-size-adjust: auto; text-transform: none; orphans: 2; = white-space: normal; widows: 2; word-spacing: 0px; = "><div>--</div><div>Peter Mueller</div><div><a = href=3D"mailto:peter.o.mueller@gmx.de">peter.o.mue ller@gmx.de</a></div><br= class=3D"Apple-interchange-newline"></span> </div><br></body></html>= --Apple-Mail-1-468714459-- --===============1161172753== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users --===============1161172753==-- |