Lock Timeout (-lkwtmo)
- Last Updated: December 12, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Lock Timeout (-lkwtmo)
Use Lock Timeout (-lkwtmo) to specify a different wait time (in seconds).
| Operating system and syntax | UNIX / Windows |
-lkwtmo
seconds
|
||
|---|---|---|---|---|
| Use with | Maximum value | Minimum value | Single-user default | Multi-user default |
| Client Session | — | 10 | 18001 | 1800 |
- seconds
-
The wait time, in seconds.
An OpenEdge process encountering a locked resource waits for a limited time before continuing execution. If the resource is still locked, the process times out and the wait is canceled. This feature is called "lock wait timeout."
The default wait time is 1800 seconds (30 minutes) for a single-user client session as well as a multiple-user client session. The minimum value is 10 seconds.
Lock timeout applies to interactive and batch clients. The client gets a
STOP condition if this value is exceeded on the
application server.
Lock timeout affects WAIT-FOR record locks, schema locks, and transaction
commit locks. Lock timeout does not affect internal locks used inside the database manager,
such as buffer locks.