Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RenewBlobLease usage increased across all Function Apps since September 30, 2024 #10505

Closed
danielelkington opened this issue Oct 1, 2024 · 4 comments

Comments

@danielelkington
Copy link

In the last 2 days (starting September 30, 2024), all 53 of our Function Apps (including both Consumption and App Service Plan apps, Windows and Linux) have suddenly started calling RenewBlobLease on the connected Azure Storage account much more frequently than before. This has caused our Log Analytics usage to increase substantially and is raising cost alerts.

Log Analytics Ingestion:
image

RenewBlobLease calls:
image

Investigative information

Previously, each individual function would call RenewBlobLease very consistently, once every 30 seconds.
image

However in the last two days, during certain hours our function apps have started calling RenewBlobLease several times in each 30 second interval:
image

Again, this seems to be across all Function Apps. The graph of RenewBlobLease looks the same when filtering by any of our Function Apps.

Repro steps

In a Log Analytics workspace that a storage account linked to a Function App has been logging to, run a query similar to

StorageBlobLogs
| where OperationName == "RenewBlobLease"
| where Uri startswith "https://STORAGE_ACCOUNT.blob.core.windows.net:443/azure-webjobs-hosts/locks/FUNCTION_APP"
| summarize count() by bin (TimeGenerated, 1d)

Observe a spike in logs from September 30:
image

Expected behavior

RenewBlobLease calls from the Function App should be consistent.

Actual behavior

RenewBlobLease calls from the Function App have been unexpectedly increasing significantly.

@danielelkington
Copy link
Author

Adding in data from October 2, it thankfully appears that RenewBlobLease calls have went back to normal. This could have been a 2 day anomaly.
image

@bhagyshricompany bhagyshricompany self-assigned this Oct 7, 2024
@bhagyshricompany
Copy link

Hi @danielelkington got it Thanks for update.if happen again pls update.

@bhagyshricompany
Copy link

bhagyshricompany commented Oct 17, 2024

please try again and see and share the details again .Thanks

@bhagyshricompany
Copy link

No update from user Hence closing.if have issue again please raise new request.Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants