There is one session for each session. It sounds like you have a connection leak, somewhere you open a new connection and do not close properly. One possibility is that you open, use, and close the connection inside the try block and handle the exception in catch or return early for some reason. If so, you need to make sure that the connection is closed at finally , or may not happen, leaving the connection (and therefore the session) hanging. Opening two compounds in the same area without explicitly closing between them can also do this.
I am not familiar with C3PO, so I donβt know how connections are handled, or where and how the 1100 limit is imposed; if you (or you) have a connection pool, and the 1100 you are referring to is the maximm pool size, then this does not seem to be a problem, since you ended up in the pool cap before closing the session.
You can look in v$session to confirm that all sessions come from JDBC and there is nothing else.
Alex poole
source share