Skip to content

config usenfssafelocking

Violet edited this page Nov 2, 2010 · 2 revisions

UseNFSSafeLocking

By default Melody 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 Melody 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
  • Categories: Appendix: Configuration Directives
  • Tags: config
Clone this wiki locally