Public bug reported:
I have installed feisty (amd64 architecture) about 2 weeks ago, set up a nfs
server and rrdtool.
Every now and then rrdtool fails to fully update it's rrd files and data values
end up nan. (starts and ends at random intervalls)
The rrd files are located on an nfs mount.
I traced it down to the following issue.
server /etc/exports:
/nfs/rrd 10.0.0.0/8(rw,sync,no_root_squash)
nfsstat -m shows:
Flags:
rw,sync,vers=3,rsize=8192,wsize=8192,soft,intr,proto=udp,timeo=14,retrans=2,sec=sys,addr=x.x.x.x
the following script demonstates the issue
---- snip start ----
rrdtool create mailq_hostx.rrd -s 60 -b 1189517320 DS:mails:GAUGE:180:0:U
RRA:AVERAGE:0.5:1:10
rrdtool update mailq_hostx.rrd -t mails 1189597500:1
rrdtool update mailq_hostx.rrd -t mails 1189597560:2
rrdtool update mailq_hostx.rrd -t mails 1189597620:3
rrdtool update mailq_hostx.rrd -t mails 1189597680:4
rrdtool update mailq_hostx.rrd -t mails 1189597740:5
rrdtool dump mailq_hostx.rrd > mailq_hostx.rrd.xml
---- snip end ----
on the local filesystem you get the xml containing:
<!-- 2007-09-12 13:42:00 CEST / 1189597320 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:43:00 CEST / 1189597380 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:44:00 CEST / 1189597440 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:45:00 CEST / 1189597500 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:46:00 CEST / 1189597560 --> <row><v>
2.0000000000e+00 </v></row>
<!-- 2007-09-12 13:47:00 CEST / 1189597620 --> <row><v>
3.0000000000e+00 </v></row>
<!-- 2007-09-12 13:48:00 CEST / 1189597680 --> <row><v>
4.0000000000e+00 </v></row>
<!-- 2007-09-12 13:49:00 CEST / 1189597740 --> <row><v>
5.0000000000e+00 </v></row>
while on the nfs mount I get:
<!-- 2007-09-12 13:42:00 CEST / 1189597320 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:43:00 CEST / 1189597380 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:44:00 CEST / 1189597440 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:45:00 CEST / 1189597500 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:46:00 CEST / 1189597560 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:47:00 CEST / 1189597620 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:48:00 CEST / 1189597680 --> <row><v>
NaN </v></row>
<!-- 2007-09-12 13:49:00 CEST / 1189597740 --> <row><v>
5.0000000000e+00 </v></row>
** Affects: ubuntu
Importance: Undecided
Status: New
--
nfs is unable to store rrdtool databases correctly
https://bugs.launchpad.net/bugs/139243
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs