Networking Guide
Chapter 12, Configuring the Network File System (NFS)

Setting the grace period

Setting the grace period

After a host system has crashed and come back up, there is a brief period during which no new lock requests are processed. The only lock requests accepted are reclaim requests from clients that already have outstanding locks. By default, this grace period is 40 seconds. You can alter this by setting the -g flag when you invoke lockd:

/etc/lockd -g 120

This will cause the local lockd to wait for 120 seconds after crash recovery before it processes new lock requests. It is desirable to change the grace period if there are many clients attempting to reclaim locks on files.