Env:
Server: DB2 V8.2 ESE, AIX 5.3
Client : DB2 V8.2 Client/AIX 5.3, WAS
WAS Log reports the following error message often and the JVM crashes eventually with Out of Memory error.
[4/28/09 13:13:52:280] 00000496 JDBCException E DB2 SQL error: SQLCODE: -805, SQLSTATE: 51002, SQLERRMC: NULLID.SYSLN203 0X5359534C564C3031
[4/28/09 13:13:52:303] 00000496 JDBCException E DB2 SQL error: SQLCODE: -805, SQLSTATE: 51002, SQLERRMC: NULLID.SYSLN203 0X5359534C564C3031
[4/28/09 13:13:52:865] 00000496 JDBCException E DB2 SQL error: SQLCODE: -805, SQLSTATE: 51002, SQLERRMC: NULLID.SYSLN203 0X5359534C564C3031
On further analysis, I understand that there are three small and three large packages. Each small package allows a maximum of 64 statement handles per connection, and each large package allows a maximum of 384 statements per connections, giving a total of 1,344 statement handles.
Based on this, I think that this error would popup when application tries to acquire 1335th handle. However when I check on the server side I have only around 500 application handle to the database (which I calculated as below)
db2 list applications | wc -l
I do not see any warning/error message on the db2diag.log either on the DB2 client or DB2 Server side (Both are in notification level 3)
Following information is from db snapshot:
High water mark for connections = 508
Application connects = 15533
Secondary connects total = 0
Applications connected currently = 456
Appls. executing in db manager currently = 1
Agents associated with applications = 456
Maximum agents associated with applications= 508
Maximum coordinating agents = 508
I think if I create a new package SYSLN203 it might resolve the problem but I would like to understand the root cause prior to that. Any thoughts ?
Thanks for looking.