RPC.LOCKD(8)
π NAME β RPC.LOCKD(8) has entered the chat π
rpc.lockd β the NFS file locking daemon. That's the whole vibe, bestie. π«Ά
πΈ SYNOPSIS πΈ
rpc.lockd [-d debug_level] [-F] [-g grace period] [-h bindip] [-p port]
β¨ DESCRIPTION β¨
okay so rpc.lockd is the utility that provides monitored and unmonitored file and record locking services in an NFSv3 environment. To monitor the status of hosts requesting locks, the locking daemon typically operates in conjunction with rpc.statd(8). they're a duo, your honor. π
π Options and operands available for rpc.lockd π
-dβ this option causes debugging information to be written to syslog, recording all RPC transactions to the daemon. These messages are logged with levelLOG_DEBUGand facilityLOG_DAEMON. Specifying adebug_levelof1results in the generation of one log line per protocol operation. Higher debug levels can be specified, causing display of operation arguments and internal operations of the daemon. lowkey a gossip feed for your daemon. π-Fβ runrpc.lockdin the foreground, rather than going into daemon mode. This is useful if some other process usesfork(2)andexec(3)to runrpc.lockd, and wants to monitor when and how it exits. main-character mode: stay visible. π-gβ the-goption allow to specify the grace period, in seconds. During the grace periodrpc.lockdonly accepts requests from hosts which are reinitialising locks which existed before the server restart. Default is30seconds. a little grace-period era. π§-h bindipβ specify specific IP addresses to bind to. This option may be specified multiple times. If no-hoption is specified,rpc.lockdwill bind toINADDR_ANY. Note that when specifying IP addresses with-h,rpc.lockdwill automatically add127.0.0.1and if IPv6 is enabled,::1to the list. okay but the loopback is invited too, always. π-pβ the-poption allow to force the daemon to bind to the specified port, for bothAF_INETandAF_INET6address families. port selection said βI'm the main character.β β
Error conditions are logged to syslog, irrespective of the debug level, using log level LOG_ERR and facility LOG_DAEMON.
π¨ Therpc.lockdutility must NOT be invoked byinetd(8)because the protocol assumes that the daemon will run from system start time. Instead, it should be configured inrc.conf(5)to run at system startup. not inetd. periodt. π
π FILES π
/usr/include/rpcsvc/nlm_prot.xβ RPC protocol specification for the network lock manager protocol. the blueprint, the lore. π
π SEE ALSO π
π STANDARDS π
The implementation is based on the specification in βProtocols for X/Open PC Interworking: XNFS, Issue 4β, X/Open CAE Specification C218, ISBN 1 872630 66 9. certified lore. π
π°οΈ HISTORY π°οΈ
A version of rpc.lockd appeared in SunOS 4. vintage behavior, honestly. π°οΈ
π BUGS π
The current implementation serialises locks requests that could be shared. yeah, it's giving bottleneck, and we're noting it. π«
π and that's the Debian RPC.LOCKD(8) page, dated May 8, 2024 β mwah, bestie π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 1995 A.R.Gordon, andrew.gordon@net-tel.co.uk
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms