In our Pega 7 Cloud application we have a number of jdbc connections to external databases. These databases are configured as resources in the context xml file.
During normal usage we found that the number of Pega connections at any time sits around 15 - 20 sessions. The environment has four nodes and the context xml file for each node has the maxActive flag set to 25. That means in theory Pega could only ever have 100 connections to the external database. The session_per_user limit at the database level is set to 200.
However, whenever the environment is restarted, on initial connection there is an excessive amount of connections made to the database (400+). As a result the session_per_user limit is exceeded and the connectivity is lost until we resave the Database Name rule.
It has been recommended that we increase the session_per_user limit on the external database, this is not an option as it is arleady set at 200 which we consider to be excessive given that the day-to-day number of sessions is so low. Has anyone experienced this kind of issue before or is there a setting in a different configuration file I am missing?
***Updated by moderator: Marissa to add SR Exists group tag***