Web App down if there is a private bytes limit of the app pool and upgraded to .Net Framework 4.7.2

Published Dec 18 2018 02:46 PM 1,045 Views
Microsoft

If a web app pool has a private bytes limit, and .Net Framework upgraded to 4.7.2, the web app will be down when the w3wp.exe approaching to the private bytes limit. An App_Code.dll.Delete (or other .Delete) file is created in ASP.Net temp folder at runtime when the w3wp.exe process memory approaching to the set Private bytes limit. And because the .Delete file exists, the assembly cannot be loaded and that will cause the web app down. 

 

The current workaround is to remove the Private bytes limit, and manually clean the .Delete file under the ASP.Net temp folder. The issue will be addressed in the next release of .Net Framework.

 

%3CLINGO-SUB%20id%3D%22lingo-sub-303728%22%20slang%3D%22en-US%22%3EWeb%20App%20down%20if%20there%20is%20a%20private%20bytes%20limit%20of%20the%20app%20pool%20and%20upgraded%20to%20.Net%20Framework%204.7.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-303728%22%20slang%3D%22en-US%22%3E%3CP%3EIf%20a%20web%20app%20pool%20has%20a%20private%20bytes%20limit%2C%20and%20.Net%20Framework%20upgraded%20to%204.7.2%2C%20the%20web%20app%20will%20be%20down%20when%20the%20w3wp.exe%20approaching%20to%20the%20private%20bytes%20limit.%20An%20App_Code.dll.Delete%20(or%20other%20.Delete)%20file%20is%20created%20in%20ASP.Net%20temp%20folder%20at%20runtime%20when%20the%20w3wp.exe%20process%20memory%20approaching%20to%20the%20set%20Private%20bytes%20limit.%20And%20because%20the%20.Delete%20file%20exists%2C%20the%20assembly%20cannot%20be%20loaded%20and%20that%20will%20cause%20the%20web%20app%20down.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20current%20workaround%20is%20to%20remove%20the%20Private%20bytes%20limit%2C%20and%20manually%20clean%20the%20.Delete%20file%20under%20the%20ASP.Net%20temp%20folder.%20The%20issue%20will%20be%20addressed%20in%20the%20next%20release%20of%20.Net%20Framework.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Version history
Last update:
‎Dec 18 2018 02:48 PM
Updated by: