man db_deadlock (Commandes) - the DB database deadlock detector
NAME
db_deadlock - the DB database deadlock detector
SYNOPSIS
db_deadlock [-vw] [-a m | o | y] [-h home]c [-L file ] [-t sec ]
DESCRIPTION
The db_deadlock utility traverses the database lock structures and aborts a transaction each time it detects a deadlock. This utility should be run as a background daemon whenever multiple threads or processes are using locking. By default, a random transaction involved in the deadlock is aborted.
The options are as follows:
- -a
- When a deadlock is detected, abort the oldest (``o'') transaction, the youngest (``y'') transaction, or the transaction with the minimum number of locks (``m'').
- -h
- Specify a home directory for the database.
- -t
- Initiate a pass over the database locks at least every sec seconds.
- -v
- Run in verbose mode, generating messages each time the detector runs.
- -w
- Make a single pass over the database locks every time a process is forced to wait for a lock.
At least one of the -t and -w options must be specified.
ENVIRONMENT VARIABLES
The following environment variables affect the execution of db_deadlock:
SEE ALSO