Matt Evans
Matt Evans

Reputation: 7575

IIS and web garden configuration

Are there significant performance advantages to allowing IIS to spawn multiple worker processes per application pool (web-garden configuration). What perfmon counters would indicate that this might be a good idea?

I know that session state must run out of process, but are there any other gotchas?

Upvotes: 5

Views: 17019

Answers (2)

Matt Evans
Matt Evans

Reputation: 7575

I did some research and found this useful article, which cover a number of potential issues, and outlines some pros and cons:

EDIT:

http://blogs.iis.net/chrisad/1342059

Upvotes: 4

Geoffrey McGrath
Geoffrey McGrath

Reputation: 1673

Basically, if you expect your application is likely to lock/block, then you can have a webgarden of size larger than one to help limp along until your health monitoring kicks in and shuts down/restarts the misbehaving process. So, use webgardens in that case as a temporary crutch until you resolve the locking/blocking issue.

Otherwise, don't use web gardens (set the value to "1" and leave it alone). Because it's better to fix the code than to use this poor mechanism.

Upvotes: 2

Related Questions