Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are there any downsides to giving Application Pools multiple Worker Processes in IIS? They seem really easy to enable and (almost) everything I’ve read seems to suggest they’re good... so why doesn’t IIS give each App Pool 10+ Worker Processes? There must be some detrimental effects, right?

share|improve this question
up vote 28 down vote accepted

You're right to be suspicious. Web Gardens having no downside is a massive myth, they can cause you no end of problems, but many people still don't even know when they should be used.

According to Chris Adams (from the IIS team) there is only a single reason you would want to use a Web Garden: To give applications, that are not CPU-bound but execute long running requests, the ability to scale and not use up all threads available in the worker process. There are lots of reasons why they can be bad, however, it is a common misconception that there's no downside.

They increase system overheads (they don't share cache), they don't share sessions (the user can lose their session if they're switched over to another process), InProc can get messed up. In short, they're actually, more often than not, a lot of trouble, and you shouldn't be using one without good reason.

Read Chris's full explanation:

Further reading:

share|improve this answer
Well said, as is Chris' post. Web gardens are almost never needed. A single process per server is all that is required in 99.5% of the time. I've had opportunities to test web gardens on high load servers that weren't performing well and we never kept them enabled in the end. We always found better solutions. It's only for low resource-long running tasks that they help. Using them has a larger memory footprint and session continuity issues. While that can be worked around, it's rarely needed. – Scott Forsyth - MVP Nov 5 '09 at 16:17
It's scary how many texts never mention their downsides -- even Microsoft's own website has pages like that. – Django Reinhardt Nov 6 '09 at 12:18
All's well about not considering web gardens in most cases.. BUT SESSION problems? I mean only if you are set to InProc. Now you wouldn't be using InProc in production, right?! – Andrei Rinea Nov 16 '09 at 14:11
@AndreiRinea Amazing how few people know there are alternatives to InProc.. – Gats Mar 30 '13 at 9:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.