Managing NFS and KRPC Kernel Configurations in HP-UX 11i v3 (762807-002, June 2014)
2.5 KLM Tunable
Table 2.5-1 lists the Kernel Lock Manager (KLM) tunable. The last column specifies which ONCplus
version first introduced the tunable.
Table 2.5-1 KLM Tunable
Kctune Tunable Name
Range
Default
Value
Units
ONCplus
Version
klm_log_level
0 to 9
0
Logging level
B.11.31.01
Klm_use_mount_proto
0 or 1
0
Boolean
B.11.31.18
2.5.1
klm_log_level
Description
The klm_log_level tunable controls the logging of debug messages by the Kernel Lock Manager. In
addition, it also controls the level of detail in the debug messages that are logged to the dmesg buffer
and the syslog file. This tunable enables you to modify the amount and detail of the debug messages
without shutting down the KLM subsystem and restarting it in debug mode.
Tested Values
Default: 0 (Logging of debug messages is disabled)
Min: 0
Max: 9 (Maximum detailed logging of debug messages)
Restrictions on Changing
The klm_log_level tunable is dynamic. System reboot is not required to activate changes made to this
tunable.
Modifying the Value
Modify the value of this tunable when you are troubleshooting an NFS file locking problem. To
increase the amount and detail of debug logging messages logged by the Kernel Lock Manager,
increase the value of this tunable.
2.5.2
klm_use_mount_proto
Description
Enable this tunable, if Kernel lock manager (nfsv2 and v3) requires to honor the mount protocol.
For example, if mount is done using tcp protocol:
#mount –oproto=tcp server:/ /mnt
All the lock or unlock requests (NLM protocol requests) on this /mnt filesystem are sent over tcp
protocol only.
This tunable is disabled by default.
In the default behavior (that is, tunable disabled) NLM can switch to UDP incase NLM server is not
responding over TCP or vice versa.