lock history, long lock detection and reporting
Posted in 2005
Topics: General Discussion
I just had a rougue lock kick several people out fo their apps and disrupt service. Is there a way to detect the length of time a lock has been held? DT -- Dave Thacker Senior Systems Administrator Omni Hotels Reservation Center V:402-952-6535 F:402-334-8013 M: 402-981-4613 (24/7)
On Thursday 21 April 2005 14:59, Dave Thacker wrote: > I just had a rougue lock kick several people out fo their apps and disrupt > service. Is there a way to detect the length of time a lock has been held? > DT It's been pointed out that I did not provide enough detail for this problem. IDS 9.4FC6/ AIX 5.3 ML01 Most applications on the system are set to LOCK MODE WAIT 15 Apps affected were 4gl, perl/DBD:Informix The lock was held on a busy table that is accessed frequently by most of the applications. When the 4gl programs died, they pointed to the problem table. What I'm looking for is a way to periodically read a list of locks and complain bitterly if I find a lock that's been held over my acceptable threshold. DT -- Dave Thacker Senior Systems Administrator Omni Hotels Reservation Center V:402-952-6535 F:402-334-8013 M: 402-981-4613 (24/7)