A worker process is user-mode code whose role is to process requests, such as processing requests to return a static page, invoking an ISAPI extension or filter, or running a Common Gateway Interface (CGI) handler.
Questions tagged [worker-process]
114 questions
69
votes
3 answers
ASP.NET Web Garden - How Many Worker Processes Do I Need?
What is the best practice for deciding how many worker processes to allow for an ASP.NET web application?
On one server I manage, creating a new AppPool defaults to 10 (maximum) worker processes. Other people suggest that the normal setting is…

Tim Long
- 13,508
- 19
- 79
- 147
69
votes
8 answers
How prevent CPU usage 100% because of worker process in iis
My CPU usage is 100% most of the the time in Windows Server 2008-R2 with my own vps, vmware, quad core, and 4GB Ram. When I open windows Task Manager and go to the resource monitor I see that 100% usage is because of workerprocess.exe. I have 3…

SilverLight
- 19,668
- 65
- 192
- 300
62
votes
8 answers
How to make BackgroundWorker return an object
I need to make RunWorkerAsync() return a List.
What is the process to be able to return an object from a background worker?
Clair Vengs
46
votes
4 answers
IIS App Pools - Stop/Start vs Recycle
I've noticed that on one of my production web apps, when I manually recycle an app pool, the recycled worker process can take upwards of 60+ seconds to actually be completely destroyed, based on watching it in Task Manager. However, if I stop the…

Daniel Schaffer
- 56,753
- 31
- 116
- 165
27
votes
4 answers
ASP.NET session state and multiple worker processes
I need to understand something about ASP.NET session state, as it applies to IIS 7 and ASP.net 3.5.
If an application is configured to use in-process session state, will that work OK if there are multiple worker processes? In other words, do worker…

Tim Long
- 13,508
- 19
- 79
- 147
24
votes
4 answers
What is the appropriate number of Gunicorn workers for each Amazon Instance Type?
I'm currently trying to figure out what the appropriate number of workers is for each Amazon Instance Type. I used to run one Gunicorn worker, however that proved to be quite slow.
Many developers are currently using this formula to gauge how many…

deadlock
- 7,048
- 14
- 67
- 115
20
votes
3 answers
Increase number of threads per worker process IIS
How do you increase the number of threads per worker process in IIS?

jaxxbo
- 7,314
- 4
- 35
- 48
18
votes
6 answers
IIS Worker Process using a LOT of memory?
I have one website on my server, and my IIS Worker Process is using 4GB RAM consistently. What should I be checking?
c:\windows\system32\inetsrv\w3wp.exe

Jason
- 16,739
- 23
- 87
- 137
16
votes
3 answers
What is worker process recycling....?
I would like to know what is exactly worker process recycling?
What exactly it does at the time of worker process recycling?
Worker process resides in application pool and can be configured
through application pool?
Is that application pool is…

Anil Purswani
- 1,857
- 6
- 35
- 63
14
votes
5 answers
Seamless deployment in ASP.NET (IIS kills worker process before new worker process is ready)
I am trying to deploy a .NET Web application to IIS (7.5) without any hassle for the users. I have made sure that Disable Overlapped Recycle is False but i still run into the same problem every time.
Every time I upload new binaries for the site,…

stefan
- 2,886
- 21
- 27
11
votes
2 answers
Idiomatic variable-size worker pool in Go
I'm trying to implement a pool of workers in Go. The go-wiki (and Effective Go in the Channels section) feature excellent examples of bounding resource use. Simply make a channel with a buffer that's as large as the worker pool. Then fill that…

Hut8
- 6,080
- 4
- 42
- 59
11
votes
1 answer
Can I get the Process ID of a worker process in a web application?
I have an application that runs in an application pool that has muliple worker processes.
I need to access the process id in the controller to check some issues I have since I changed the application pool to use multiple worker processes.

Mathias F
- 15,906
- 22
- 89
- 159
10
votes
3 answers
Worker process reached its allowed processing time
We are experiencing this issue approximately once a month. It is very hard to pinpoint the cause so any help would be appreciated. This causes the App pool to stop and brings the site down. We have gone through all log files and have concluded…
Confused
10
votes
2 answers
Application pool worker process Idle Time-out Action: Suspend vs Terminate
I have an ASP.NET MVC application deployed on IIS 8.5 in a Web server and I would like to know the differences between these two features for the setting "Idle Time-out action".
If process is suspended, are the memory and resources used by the…

Willy
- 9,848
- 22
- 141
- 284
10
votes
3 answers
Worker Service looking for appsettings.json in System32 folder instead of local folder
I have a .Net core worker service, which I am running as a windows service. The service is using appsettings.json file for the config information. After installing the service using SC CREATE command, the service was failing.
In the event viewer I…

Ajith
- 1,447
- 2
- 17
- 31