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 ...
                      • Installing Applications Manager in Cloud (AWS, Azure)

                        To install Applications Manager in the cloud, we can use any of the below methods: AWS/Azure marketplace Direct installation AWS/Azure marketplace Applications manager is readily available in AWS/Azure marketplace as a pre-installed product. AWS ...
                      • I have set up monitoring of an Oracle database. The 'Tablespace Details' and 'Tablespace Status' areas show no data or error.

                        Solution: You can execute the TABLESPACE STATUS query in your Oracle and check the data. Go to <Appmanager/working/conf/application> directory. Then open the <Oracle.xml> file and check for the string "TABLESPACESTATUS". Below that you will find the ...