lockd(NADM) 19 June 1992 lockd(NADM) Name lockd - network lock daemon Syntax /etc/lockd [ -t timeout ] [ -d debuglevel ] [ -g graceperiod ] [ -h hash- size ] [ -l k2utimeout ] Description lockd processes lock requests that are either sent locally by the kernel or remotely by another lock daemon. lockd forwards lock requests for remote data to the server site's lock daemon through the RPC/XDR(NS) package. lockd then requests the status monitor daemon, statd(NADM), for monitor service. The reply to the lock request will not be sent to the kernel until the status daemon and the server site's lock daemon have replied. If either the status monitor or server site's 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 lock managers to submit reclaim requests. On the other hand, client site lock managers are notified by the status monitor of the server's recovery and promptly resubmit previously granted lock requests. If lockd fails to secure a previously granted lock at the server site, lockd sends a deadlock signal SIGUSR2 to a process. Options -t timeout lockd will use timeout (seconds) as the interval instead of the default value (5 seconds) to retransmit a lock request to the remote server. -d debuglevel lockd has extensive internal reporting capabilities. A level of 2 will report significant events. A level of 4 will report internal state and all lock request traffic in verbose form. -g graceperiod lockd will use graceperiod (seconds) as the grace period duration instead of the default value (45 seconds). -h hashsize lockd will use hashsize number of hash buckets internally instead of the default value of 29. -l k2utimeout lockd will use k2utimeout (seconds) as the interval instead of the default value (2 seconds) to retransmit kernel lock manager requests. This is the timeout value used for local lock requests. See also fcntl(S), lockf(S), signal(S), statd(NADM)