Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 789
Matt Evans Avatar asked Mar 01 '11 14:03

Matt Evans


2 Answers

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

like image 93
Matt Evans Avatar answered Oct 12 '22 09:10

Matt Evans


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.

like image 27
Geoffrey McGrath Avatar answered Oct 12 '22 11:10

Geoffrey McGrath