MarchalPT
MarchalPT

Reputation: 1566

Azure AppService Logs Warning Maximum size for region

I having this warning on my logs and don't have a clue about it, or what it means.

Basycally from time to time a get hundreeds of lines like this:

2022-10-04T10:45:23.796229138Z ** (process:53): WARNING **: 10:45:23.795: Requested 0 bytes. Maximum size for region is 262144 bytes.

2022-10-04T10:45:23.810953303Z 

2022-10-04T10:45:23.811014403Z ** (process:53): WARNING **: 10:45:23.810: Requested 0 bytes. Maximum size for region is 262144 bytes.

2022-10-04T10:45:23.823955748Z 

2022-10-04T10:45:23.823975948Z ** (process:53): WARNING **: 10:45:23.823: Requested 0 bytes. Maximum size for region is 262144 bytes.

2022-10-04T10:45:23.836791491Z 

2022-10-04T10:45:23.836858592Z ** (process:53): WARNING **: 10:45:23.836: Requested 0 bytes. Maximum size for region is 262144 bytes.

2022-10-04T10:45:23.842492755Z 

2022-10-04T10:45:23.842510755Z ** (process:53): WARNING **: 10:45:23.842: Requested 0 bytes. Maximum size for region is 262144 bytes.

2022-10-04T10:45:23.856046707Z 

2022-10-04T10:45:23.856131908Z ** (process:53): WARNING **: 10:45:23.855: Requested 0 bytes. Maximum size for region is 262144 bytes.

2022-10-04T10:45:23.865767715Z 

2022-10-04T10:45:23.865815216Z ** (process:53): WARNING **: 10:45:23.865: Requested 0 bytes. Maximum size for region is 262144 bytes.

2022-10-04T10:45:23.875841928Z 

2022-10-04T10:45:23.875918429Z ** (process:53): WARNING **: 10:45:23.875: Requested 0 bytes. Maximum size for region is 262144 bytes.

2022-10-04T10:45:23.886996952Z 

2022-10-04T10:45:23.887175554Z ** (process:53): WARNING **: 10:45:23.886: Requested 0 bytes. Maximum size for region is 262144 bytes.

2022-10-04T10:45:23.903502537Z 

2022-10-04T10:45:23.903526837Z ** (process:53): WARNING **: 10:45:23.900: Requested 0 bytes. Maximum size for region is 262144 bytes.

I don't understand why it warns me about a processes that requested 0 bytes and then says the Maximum size for region like if I was getting close to that value.

Can anyone explain me what is happening? Is it a problem I should check? If so is there a solution to fix this?

Bests

Upvotes: 0

Views: 494

Answers (1)

Jahnavi
Jahnavi

Reputation: 7898

Azure App Service Logs Warning Maximum size for region

These types of warnings would appear for a variety of reasons: First & foremost, it is a Bug occurring frequently while obtaining service logs after deployed .NET webapp to Azure.

Need to check & resolve:

  1. To resolve, check your regional quota and change the region to the other to avoid memory exceeded warnings as maximum byte size varies region-wise.

  2. You can create a new app service plan and deploy in it.

The total content size of all apps across all App service plans in a single resource group and region cannot exceed 500 GB as mentioned in MsDoc

The actual number of App Service plans created in the area and resource group determines the file system quota for apps hosted by App Service. Check for App Service Planing

  1. You can check the Azure App service memory usage as below: Goto

Diagnoise & solve problem -> Availability & performance -> Memory Analysis

You can see the current consumption of private bytes as shown here: enter image description here

  1. Analyze the file system storage used by your apps and app service plans.

enter image description here

  1. Make sure that the stream logs of the files do not exceed the blob storage limit is important if you enabled diagnostic settings as it can stop log stream viewing and show this warning. Refer storage limit in Azure

I've created .NET webapp using Visual Studio and deployed it to Azure:

enter image description here

enter image description here

After enabling required App service logs settings:

enter image description here

I could be able to obtain the logs without any warning as shown:

enter image description here

Note: Requested 0 bytes:- Even 0 bytes block some storage in blob as mentioned by @Gaurav Mantri SO

Reference

Upvotes: 1

Related Questions