Database Error Messages

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

ORA-24458

OCISessionGet() timed out trying to find a free session to the desired shard and max connections per shard limit is reached

Cause

OCISessionGet() could not find a free session to the appropriate shard in the specified timeout period. No new sessions can be opened to the shard either as the number of connections open to the shard is already at the value specified by OCI_ATTR_SPOOL_MAX_PER_SHARD.


Action

Increase value of OCI_ATTR_SPOOL_MAX_PER_SHARD or increase the timeout specified by or use OCI_SPOOL_ATTRVAL_WAIT