Skip to content

oracle ords too many connection

-1

the pool named default reached the maximum ords connections

  • I don't think you have provided enough information for anyone to help you. I would recommend that you provided some background on what you are trying to do and how you have configured resources thus far.

asked 2 years ago514 views

2 Answers
0

Oracle REST Data Services is a Java Enterprise Edition (Java EE) based data service that provides enhanced security, file caching features, and RESTful Web Services. Oracle REST Data Services also increases flexibility through support for deployment in standalone mode, as well as using servers like Oracle WebLogic Server and Apache Tomcat.

The error message "the pool named default reached the maximum ORDS connections" indicates that Oracle REST Data Services (ORDS) has exhausted its available database connections in the connection pool. This typically happens due to high concurrent requests, inefficient connection management, or insufficiently configured connection pool settings.

Causes of ORDS Too Many Connections Issue

  • High Concurrent Requests – Too many users or applications trying to access ORDS simultaneously.
  • Inefficient Connection Management – ORDS may not be closing connections properly, leading to exhaustion.
  • Insufficient Connection Pool Size – The default connection pool limit might be too low for the workload.
  • Long-Running Queries – Queries taking too long to execute keep connections occupied, preventing new requests.
  • Database Bottlenecks – The database might be slow in responding, leading to connection pileups.
  • Idle Connections Not Released – Stale or idle connections may not be getting terminated correctly.

Troubleshooting and Fixes

  • You can consider increasing connection pool size by modifying the ORDS configuration to allow a higher number of connections
  • Monitor Active Sessions to check the active database sessions. If too many active sessions exist, investigate the cause.
  • Optimize SQL Queries. Identify slow-running queries and optimize any long-running queries to free up connections faster.
  • Enable connection timeout by setting a timeout to release idle connections.
  • Check database connection limits. Ensure the database itself allows enough connections. If required, increase the sessions and processes parameters.

Consider the below resources for your references to read more on the same:

The "too many connections" issue in ORDS is usually due to high load, inefficient queries, or improper connection pool settings. Adjusting the connection pool size, optimizing queries, and monitoring active sessions can help prevent connection exhaustion.

AWS

answered 2 years ago

0

This type of issue is best taken with Oracle support. You can configure ORDS connection pooling and set the maximum as described in this blog post . You can also increase on DB server side number of processes and sessions your Oracle DB can run which will allow more connections. You may need to have an instance with more memory for that

AWS

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.