Thanks Marcus,
The locktimeout is already set to 300 seconds, which I feel is little on the higher side.
The Default deadlock does exits and I do see the .evt and .ctl under the folder db2detaildeadlock. Another strange thing is that the db2diag.log does not show any traces of deadlock. How much time does DB2 takes in resolving the deadlock? Because I saw deadlocks bumping from 1 to 3 in just half an hour.
In a deadlock situation, can trying to increasing the MAXLOCKS help in getting rid of the deadlock, if DB2 doesn't get rid of the deadlock on its own.
db2 get db cfg | grep LOCK
Max storage for lock list (4KB) (LOCKLIST) = 8196
Percent. of lock lists per application (MAXLOCKS) = 30
Lock timeout (sec) (LOCKTIMEOUT) = 300
I know MAXLOCKS is on a low side and I do see lot of lock escalations just before the deadlock.
Thanks
Anks