For users who are using RRDtool 1.3.x and have their RRD files over
NFS, this post may be of interest to you.

Cheers,

Bernard


---------- Forwarded message ----------
From: AJ Ragusa <[EMAIL PROTECTED]>
Date: Mon, Nov 10, 2008 at 1:16 PM
Subject: [rrd-developers] MSYNC issues
To: [EMAIL PROTECTED]


Hi Guys

I have been using RRDTool 1.3.3 for a few months now without a
problem, until one of my users noticed that on NFS mounts the rrdfiles
were not updating.... after a full day of scratching my head and
swearing about NFS I finally noticed that the last modified date of
the files was not updating and was the cause of my NFS problems.

Further investigation finally led me to this kernel bug

http://bugzilla.kernel.org/show_bug.cgi?id=2645

I was slightly disheartened by one of the last posts

------- Comment  #49 From Anton Salikhmetov  2008-01-23 15:10:11
[reply] -------

The patch applied to the upstream kernel fixes this bug. Closing.

The remaining problem is to satisfy the paper standard requirement. This
requirement is totally ambiguous and requires invasive changes and
expensive
code. This is the MS_ASYNC case of the msync() function. Googling
shows that
the msync() function is most probably not called with the MS_ASYNC
flag by any
popular application. Therefore, it is left unimplemented for now.


---------------------------------------------------------------------------------------------------------------

After I looked through the RRDTool code I found that it is using the
MS_ASYNC flag... since this problem was only recently resolved (only
took 4 years) in January of 2008 I'm guessing that not a lot of
kernels have this fix.  Is it ok to change to MS_SYNC for the flag to
msynch instead of MS_ASYNC?  Or is that going to cause more problems?

Has anyone else seen any problems related to this, and have a fix?

Thanks
A.J. Ragusa
System Engineer - Global Research Network Operations Center

_______________________________________________
rrd-developers mailing list
[EMAIL PROTECTED]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to