w0051977
w0051977

Reputation: 15807

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.

Upvotes: 13

Views: 13337

Answers (1)

Joel Coehoorn
Joel Coehoorn

Reputation: 415800

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

Upvotes: 9

Related Questions