lockd(1M) lockd(1M)NAME lockd - process network lock daemon SYNOPSIS /etc/rpc.lockd [ -t timeout ] [ -g graceperiod ] DESCRIPTION lockd is a network lock daemon that processes lock requests that are sent either locally by the kernel or remotely by another lock daemon. lockd forwards lock requests for re- mote data to the lock daemon at the server site through the RPC/XDR package. lockd then requests the status monitor dae- mon, statd(1M), for monitor service. The reply to the lock request is not sent to the kernel until the status monitor daemon and the lock daemon at the server site replies. If either the status monitor daemon or the lock daemon at the server site is unavailable, the reply to a lock request for remote data is delayed until all daemons become avail- able. When a server recovers, it waits for a grace period for each lockd at a client site to submit reclaim requests. Each lockd at a client site, on the other hand, is notified by the statd of the server recovery and promptly resubmits a previously granted lock request. If lockd fails to secure a previously granted lock at the server site, lockd sends SIGTERM to a process. FLAG OPTIONS The following flag options are interpreted by lockd: -t timeout Use timeout (seconds) as the interval instead of the default value (15 seconds) to retransmit a lock request to the remote server. -g graceperiod Use graceperiod (seconds) as the grace period duration instead of the default value (45 seconds). SEE ALSO fcntl(2), lockf(3), signal(3), statd(1M). April, 1990 1