All Products
Search
Document Center

Simple Log Service:Handle resource throttling errors

Last Updated:Sep 11, 2023

Simple Log Service provides multiple types of resources such as projects, Logstores, and shards. To ensure the reliable quality of service (QoS) of the multi-tenant cloud, Simple Log Service sets an upper limit for each type of resources for resource throttling. If a resource throttling error occurs when you use Simple Log Service resources, you may encounter unexpected behaviors, such as API errors, resource creation failures, and data upload failures. This topic describes the resource throttling errors that may occur when you use Simple Log Service resources and provides corresponding solutions.

Detect resource throttling errors

You can use the CloudLens for SLS application of Simple Log Service to monitor resource usage and detect throttling exceptions. If alerts are triggered, you can handle the alerts at the earliest opportunity.

Solutions

The following table describes the solutions that you can use to handle resource throttling errors.

Category

Description

Solution

Write quota exceeded

WriteQuotaExceed (project-level resource quota exceeded)

  • Write traffic per project: Project write quota exceed: inflow: xxx

  • Writes per project: Project write quota exceed: qps: xxx

Log on to the Simple Log Service console to adjust resource quotas. For more information, see Adjust resource quotas.

ShardWriteQuotaExceed (shard-level resource quota exceeded)

  • Write traffic per shard: shard write quota exceed, please split shard (the write traffic of all available shards exceeds the limit)

  • Write traffic per shard: shard write quota exceed, shard: xxx

Manually or automatically split shards. For more information, see Manage shards.

Read/write quota exceeded

ShardReadQuotaExceed (shard-level resource quota exceeded without limits on project-level resource quotas)

  • Reads per shard: shard read qps exceed quota limits

  • Read traffic per shard: shard read bytes exceed quota limits

Manually or automatically split shards. For more information, see Manage shards.

Resource quantity quota exceeded

ProjectQuotaExceed

  • Logstores: project xxx logstore count quota exceed

  • Projects: Account <aliuid> most has <project quota> project

  • Shards: project <project name>, shard count quota exceed

Log on to the Simple Log Service console to adjust resource quotas. For more information, see Adjust resource quotas.

Request quota exceeded

Dashboard quota exceeded

dashboard quota exceed

Log on to the Simple Log Service console to adjust resource quotas. For more information, see Adjust resource quotas.

Concurrent analysis operation quota exceeded

  • user can only run 15 query concurrently

  • Too many queued queries

Check whether the business workloads are abnormal or invalid busy requests occur due to the implementation logic.

If you need to perform more concurrent operations, submit a ticket. Simple Log Service helps meet your concurrent analysis requirements.

Other resource quantity quota exceeded

QuotaExceed

  • Logtail configurations: project config count exceed quota

  • Machine groups: project machine group count exceed quota

  • Alert rules: Alert count exceeds the maximum limit

Log on to the Simple Log Service console to adjust resource quotas. For more information, see Adjust resource quotas.