LockFile
LockFile <path>filename
Default: logs/accept.lock
Server config
When Apache is compiled with
USE_FCNTL_SERIALIZED_ACCEPT
or
USE_FLOCK_SERIALIZED_ACCEPT
, it will not start
until it writes a lock file to the local disk. If the
logs directory is NFS mounted, this will not be
possible. It is not a good idea to put this file in a directory that
is writable by everyone, since a false file will prevent Apache from
starting. This mechanism is necessary because some operating systems
don’t like multiple processes sitting in
accept()
on a single socket (which is where
Apache sits while waiting). Therefore, these calls need to be
serialized. One way is to use a lock file, but you
can’t use one on an NFS-mounted directory.