Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

DIA-24496

OCISessionGet() timed out waiting for a free connection

Cause

There was no free connection as the pool reached its maximum and all connections were in use at the time the request was issued.


Action

Retry the request later. Use OCISessionGet() with OCI_SPOOL_ATTRVAL_TIMEDWAIT mode (with an appropriate OCI_ATTR_SPOOL_WAIT_TIMEOUT setting) or OCI_SPOOL_ATTRVAL_WAIT mode. If needed, increase the maximum size of the OCI session pool.