DEADLOCK WAIT

From VSI OpenVMS Wiki
Revision as of 05:12, 9 April 2019 by Darya.zelenina (talk | contribs) (Created page with "'''DEADLOCK_WAIT''' is a system parameter that defines the number of seconds that a lock request must wait before the system initiates a deadlock search...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

DEADLOCK_WAIT is a system parameter that defines the number of seconds that a lock request must wait before the system initiates a deadlock search on behalf of that lock. Setting DEADLOCK_WAIT to zero disables deadlock checking. Setting DEADLOCK_WAIT to a value greater than zero and less than the default setting provides faster detection of deadlocks but requires more CPU usage.

The DEADLOCK_WAIT value is expressed in seconds; therefore, the smallest value you can set is 1 second. Beginning in VSI OpenVMS Version 8.3, a subsecond deadlock wait time, which is set in the system service $SET_PROCESS_PROPERTIESW item code $PPROP$C_ DEADLOCK_WAIT, overrides DEADLOCK_WAIT.

DEADLOCK_WAIT is a DYNAMIC parameter.

See also