Oracle Cloud monitors show "Maximum Rate Exceeded" error

Oracle Cloud monitors show "Maximum Rate Exceeded" error

The Maximum Rate Exceeded error occurs in Oracle Cloud and its child monitors when too many APIs are accessed at the same time. This error happens usually in an environment where there are large number of Oracle Cloud child monitors like Instances and Storage. 

Reason: In Oracle Cloud, the API rate is very low by default. The default API rate limit is 10 Transactions per Second. When polling happens for more than 10 OCI monitors at the same time, this limit is exceeded and hence you might encounter the Maximum rate exceeded error.

Resolution: Follow the steps given below to avoid this error.
  1. Increase Rate Limit:
    1. To increase the rate limit ie. TPS (Transactions per Second), raise a request in the OCI portal.
    2. In the Support section, you will find an option to raise a request to increase the rate limit.
    3. It is recommended that you raise a request to increase the rate of the below API to 100 TPS
      1. /20180401/metrics/actions/summarizeMetricsData
    4. This is the API that is used the most as it fetches all the performance metrics in all the OCI monitor types.

  2. Disable fast data collection: 
    1. Go to Admin/Settings -> Performance Polling -> Optimize Data Collection -> Monitor Type -> Oracle Cloud -> Metric Name -> Performance.
    2. If the 'Enable faster data collection' checkbox is enabled, then disable the same.
    3. If this option is enabled, then multiple API calls happen parallelly for a single monitor and when multiple monitors are polled at the same time, the rate might exceed and cause error.

  3. Maintain optimum thread count:
    1. In Applications Manager if the value of the KeyValueMonitor Thread count is high, then there are more chances of multiple monitors being polled at the same time
    2. To check this go to Admin/Settings -> Server Settings -> Threads Configuration page.
    3. In some customer environments, we might have suggested you to increase this thread count to avoid thread blocking in other monitor types. 
    4. In such an environment if you a have large number of OCI monitors, it is recommended to move the OCI monitors to a separate Managed server and maintain optimum thread count.

                  New to ADSelfService Plus?

                    • Related Articles

                    • APM Monitors in OpManager Plus SAM Bundle

                      APM Monitors in OpManager Plus With the new device-based licensing model for OpManager plus, you can now add monitors of Applications Manager as devices in OpManager Plus using the SAM bundle. You can allocate devices in the SAM bundle in the form of ...
                    • Instance based license for MSSQL and Oracle Monitors

                      In a single server, there can be multiple instances of Oracle/MSSQL database. Each instance is counted for licensing in Applications Manager. Example 1: In the above image, you can see that there are 3 instances of MS SQL DBs in a single server, ...
                    • How do I monitor Oracle Alert Logs?

                      Alert Log monitoring in Applications Manager is not enabled by default. Here is how you can enable monitoring of Alert Log statistics: Go to the Admin tab. Click Performance Polling under Discovery and Data Collection. Under Performance Data ...
                    • Download Oracle Client Credentials

                      To download client credentials from the Oracle Cloud Infrastructure console: Navigate to the Autonomous Data Warehouse details page. Click DB Connection. On the Database Connection page select the Wallet Type: Instance Wallet: Wallet for a single ...
                    • How to import certificates for monitoring Oracle database with SSL authentication?

                      For users using Applications Manager version 14250 and below: One-way SSL: (Client authentication disabled) 1. Open the command prompt using 'Run as administrator' option and navigate to the Applications Manager installation directory. 2. Import your ...