Sun Java System Messaging Server 6.3 Administration Guide

27.7.2 Monitoring the State of Message Store Database Locks

The state of database-locks is held by different server processes. These database locks can affect the performance of the message store. In case of deadlocks, messages will not be getting inserted into the store at reasonable speeds and the ims-ms channel queue will grow larger as a result. There are legitimate reasons for a queue to back up, so it is useful to have a history of the queue length in order to diagnose problems. Symptoms of Message Store Database Lock Problems

Number of transactions are accumulating and not resolving. To Monitor Message Store Database Locks

Use the command imcheck -s (used to be counterutil -o db_lock)