UseNFSSafeLocking
This is documentation about a configuration directive, which can be placed within Movable Type’s core configuration file, mt-config.cgi
, to customize the behavior of the system.
By default Movable Type uses Perl’s flock() function to lock your databases while reading and writing. On systems using NFS-mounted directories, however, Perl’s flock() may fail, unless the perl executable has been built to use fnctl(2) instead of flock(2); and even then, it is not certain that the locking will truly work.
Thus, if you have problems running Movable Type on systems using NFS, you can use the UseNFSSafeLocking directive to use simpler file locking that will work over NFS.
Default value: 0
(don’t use NFS-safe locking)
Example:
UseNFSSafeLocking 1