How to fix Azure Storage Account OperationTimedOut error

Malik, Deepankar 25 Reputation points
2024-04-15T19:37:32.16+00:00

Our function app uses an Http Trigger to upload files to an ADLS storage account. During a recent load test, we encountered a StatusCode - 500 error. Upon investigation, we found that the storage account was timing out requests with an OperationTimedOut error and StatusCode - 500.

The storage account is a general-purpose v2 type located in eastus2. I reviewed some of the storage account metrics:

  • Transactions by storage type: The count ranged between 45K to 55K transactions during the period when we experienced the 500 status errors.
  • Ingress (sum): The data ingress was 161.2GiB during the same duration.
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,716 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247-1375 11,296 Reputation points
    2024-04-16T07:32:30.4+00:00

    Hi Malik, Deepankar,

    Thanks for reaching out to Microsoft Q&A.

    If your application is making a large number of requests in a short time, it could lead to throttling and the ADLS Gen2 service may throttle requests if there are too many read/write operations happening simultaneously. By default, the maximum request rate per storage account is 20,000 requests per second for standard Azure Storage accounts. For requests on a single blob, the limit is 500 requests per second. I am leaving a couple of links below which should help you identify and fix/optimize this issue.

    Go through the below links and let me know if it didnt help.

    https://learn.microsoft.com/en-us/answers/questions/1063199/adls-gen-2-errorcode-usererrordatastoreservicethro?orderBy=Newest

    https://github.com/microsoft/AzureStorageExplorer/issues/3976

    Please 'Upvote'(Thumbs-up) and 'Accept' as an answer if the reply was helpful. This will benefit other community members who face the same issue.

    0 comments No comments