In the db config, change the following parms:
db2 update db cfg using LOCKLIST 4096
db2 update db cfg using MAXLOCKS 40
These take effect after all connections from the database are gone.
If this does not work, then your applications may not be commiting frequently enough.