Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple Instances of w3wp.exe

I don't understand why there are two ASP.NET w3wp processes in Task Manager when I only have one website and one application pool. Why are there two processes running? I have Googled this and looked on MSDN but cannot find an answer.

I am trying to debug a memory leak in an application. I understand the concept of threading and multiple threads living in a process, but I do not understand why there are multiple processes.

I am specifically asking what scenarios can cause more than one process to run.

like image 960
w0051977 Avatar asked May 02 '12 21:05

w0051977


1 Answers

Look at the Advanced Settings of your application pool for this section, and make sure the indicated value is set to 1:

IIS Maximum Worker Processes

like image 89
Joel Coehoorn Avatar answered Sep 18 '22 17:09

Joel Coehoorn