Processes lock requests.
/usr/sbin/rpc.lockd [ -a NumberOfThreads ][ -t TimeOut ] [ -g GracePeriod ]
The lockd daemon processes lock requests that are either sent locally by the kernel or remotely by another lock daemon. The lockd daemon forwards lock requests for remote data to the server site lock daemon through the RPC package. The lockd daemon then asks the statd (status monitor) daemon for monitor service. The reply to the lock request is not sent to the kernel until both the statd daemon and the server site lockd daemon reply. The statd daemon should always be started before the lockd daemon.
If either the status monitor or the server site lock daemon is unavailable, the reply to a lock request for remote data is delayed until all daemons become available.
When a server recovers, it waits for a grace period for all client site lockd daemons to submit reclaim requests. The client site lockd daemons, on the other hand, are notified of the server recovery by the statd daemon. These daemons promptly resubmit previously granted lock requests. If a lockd daemon fails to secure a previously granted lock at the server site, the lockd daemon sends a SIGLOST signal to the process.
The lockd daemon is started and stopped with the following System Resource Controller (SRC) commands:
startsrc -s rpc.lockd stopsrc -s rpc.lockd
To modify the arguments passed to the lockd daemon when it is started, use the following command:
chssys -s rpc.lockd Parameters...
The status monitor maintains information on the location of connections as well as the status in the /etc/sm directory, the /etc/sm.bak file, and the /etc/state file. When restarted, the statd daemon queries these files and tries to reestablish the connection it had prior to termination. To restart the statd daemon, and subsequently the lockd daemon, without prior knowledge of existing locks or status, delete these files before restarting the statd daemon.
The chssys command, nfso command, no command.
The statd daemon.
The fcntl subroutine, lockf subroutine, signal subroutine.
Network File System (NFS) Overview for System Management in AIX 5L Version 5.2 System Management Guide: Communications and Networks.
AIX 5L Version 5.2 Performance Management Guide.