Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [05-2007 Date Index] [Date Next] || [Thread Prev] [05-2007 Thread Index] [Thread Next]

[dokuwiki] Avoid problems using pagedata on an NFS volume

  • From: Oliver Geisen <oliver.geisen@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 8 May 2007 08:06:39 +0200
Hello,

a few weeks ago i wrote about my problems with not upgrading (re- parsed) pages, if pagedata-dir (dokuwiki page files) resides on an NFS shared volume (not on the same host as the dokuwiki app runs).

This is because NFS servers create and modifiy the files in their local filesystem, not the client. Therefore it's vital to sync their clocks using the same NTP-server.

To detect such problems dokuwiki could test it like that:
  - touch a file in the root of pagedata (e.g. ".timetest")
- check if the files mdate differs (in respect with a tolerated timeshift) from the local clock.

Avoiding such problems seems possible, but "expensive". One must touch a file, detect a differ and keep that differ as an timeoffset (negative or positive) which will be added to the local time each time a chache-operation (or other time relevant operation) will be done.


Oliver Geisen

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.