For more information... RTFM!
NAVIGATION
RECENTLY VIEWED
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

LockType

Specify the method Interchange should use to lock files.

Synopsis

LockType  fcntl

Options are flock, fcntl and none.  The default is flock.

Scope

This directive is only available for use in the global (interchange.cfg) configuration file, and will affect all websites running under the Interchange installation.  It will not work in a website's local (catalog.cfg) configuration file. 

Description

The "fcntl" setting is needed for NFS filesystems.  for NFS-based locking to work, the NFS lock daemon (lockd) must be enabled and running on both the NFS client and on the server.  Locking with "fcntl" works on Linux and should work on Solaris, but is not guaranteed to work on all OSes.

If you are only accessing sessions on an NFS-mounted directory but the rest of Interchange is on the local filesystem, you can set the SessionType website directive to 'NFS' instead, which would enable "fcntl" locking for sessions only on a per-website basis.

If you are not using NFS then the default "flock" setting will work well.

The "none" setting turns off file locking altogether, but that is strongly discouraged.  Switching file locks off might be useful to check whether locking is causing problems on the system.

Note

Note

This directive is only available in Interchange versions 4.8.6 and above.

Category:  Global config directives
Last modified by: Kevin Walsh
Modification date: Wednesday 28 June 2006 at 8:45 AM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us