ORA-01000: Maximum number of open cursors exceeded
After the upgrade to Pega 7.2, user gets many errors on DB level, related to the open cursors.
The SQL showing the highest number of open cursors (500-up) is:
select pzInsKey as "pzInsKey" , pxLockhandle as "pxLockHandle" from RULES.pr_sys_locks where pxOwnerID = ?
ORA-01000: maximum open cursors exceeded
Steps to Reproduce
Below two defects in PRPC caused cursor leaks:
- Cursor leaks are observed in LockManagerImpl code where prepared statement in not being closed and cursors are being held.
- Stored procedure SPPR_SYS_RESERVEQUEUEITEM_B does not close the cursors.
Apply HFix-29955, to avoid the error message.
100% found this useful