question

BKBK-9819 avatar image
1 Vote"
BKBK-9819 asked BKBK-9819 commented

"POTENTIAL MEMORY LEAK FOR PROCESS: w3wp" - What are the causes and possible solutions

Do you have any tips on the warning, "POTENTIAL MEMORY LEAK FOR PROCESS", which appears on the Failures section of our Azure Application Insights page?
See attached images.

We suddenly began to see the warning of recent. The warning shows 3 tabs, one for each of the following processes:


w3wp
w3wp#2
w3wp#4

I know that these are IIS worker processes. However, I am still at a loss.

Which IIS instance(s)/installation(s) is the warning referring to? How do I get more information about the warning or the processes? How do I reduce the changes of a w3wp memory leak?

I would be grateful for your help.

azure-monitorwindows-server-iis
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Escalate to the developers of this web application, so that they can check if anything is incorrect. The warnings themselves are not very helpful, as they seem to be sent whenever memory usage of w3wp.exe goes high enough. But that kind of memory usage can be normal.

0 Votes 0 ·

Hi @BKBK-9819 ,

The attachments show that the issue is related to Azure. Azure engineers will help you once they the issue.

About IIS, the information I can provide is all application pools will create worker processes named w3wp.exe when they run. You can check these worker processes in task manager and remember their PID. Then you can know the application pool in worker processes module of IIS according to PID.
128810-1.jpg
128911-3.jpg


0 Votes 0 ·
1.jpg (4.9 KiB)
3.jpg (17.7 KiB)

Hi @lextm and @BruceZhang-MSFT,
Thanks for your insightful comments. It's clear to me now what's going on.

0 Votes 0 ·

0 Answers