


If the variable LOCK-ALL-FILES is set to "1," it causes AcuServer to lock all files that it opens. Access to locked files is faster than access to files that are not locked. As a result, LOCK-ALL-FILES can improve data access speed.
This variable is especially helpful for servers running in conjunction with the Network File System (NFS) network protocol. At NFS installations, file access time can be degraded by slow network lock daemons. Setting LOCK-ALL-FILES to "1" locks all of the files internally, thus bypassing the slower network lock daemons.
Runtimes that do not use acuserve may be locked out if this variable is set to "1". So if the site uses this option, then all runtimes must use acuserve to access the files (set USE-LOCAL-SERVER to "1").
When LOCK-ALL-FILES is set to "0", files are no longer automatically locked, and access times are increased.