How to use IIS Manager to get Worker Processes (w3wp.exe)
W3wp.exe High CPU Utilization
The default IIS 6 setting for an application is shutdown worker processes after being idle for 20 minutes. So when a new request comes after 30 minutes of being idle, IIS will start and initialized the worker
process again. It wills JIT compile every method in your application at first access. So you will experience a great delay on first access. You can change this setting (and other performance settings) from IIS manager, under Application Pools.
Get Worker Processes ( w3wp.exe) List :
To get list of running worker process, Open IIS Manager ( Run > Inetmgr ), Select root level from left site navigation tree and from “Features View Panel” select “Worker Processes”
Click on the “Worker Processes” to get details of all worker process which are currently running as shown in below.
So from the above list of worker processes you can get the details of Application Pool Name, Process ID, state of worker processes along with CPU uses and memory uses.
Web application hosted on multiple server and access based on the load on servers is called Web Farms and When a single Application pool contain multiple Worker process is called web garden.
Create Web Garden in IIS 6 and IIS 7
Now, I am going to show how you can change the Number of Worker process In both IIS 6 and IIS 7. For IIS 6, Right Click on Application Pool > Properties > Goto Performance Tab.
In the “Performance Tab” Section you would have one option called “Web Garden” where worker process sets to “1”, you can set the number of worker process that you required.
For IIS 7, Right Click on Application Pool > Go To Advance Settings > In Process Model section, you will have “Maximum Worker Processes” . You can change it more than 1 to make it as web garden.
Advantages of Web Garden:
Provides better application availability by sharing request between multiple worker process.
Web garden use processor affinity where application can swapped out based on preference and tag setting.
Less consumption of physical space for web garden configuration.
Hello! I really like this blog. Tell me please – from where do you have information for ths blog?
from my experience
To Deliver the Knowledge To IT professionals and beginners Using Real World Examples of System Administration World
do you like it
Thanks for the info…. in my case we have a SharePoint 2013 and the w3wp.exe it destroyes my CPU….. 😦
what is your problem exactly
please send me on email@example.com
Finally we solved the problem but programming a weekly IIS restart.
you are welcome any time
Please follow our webpage and our IT Community.
you are welcome at any time just send me on firstname.lastname@example.org if any help is needed
you can limit it to use specific memory
you can use that from the SQL server