FastCGI MaxInstances setting [Answered]RSS

1 reply

Last post Sep 30, 2013 10:24 PM by peterviola

  • FastCGI MaxInstances setting

    Sep 26, 2013 03:41 PM|SlightlyHazy|LINK

    First, I've noticed that the documentation suggests setting the FastCGI application MaxInstances to 0. When I attempt to make that setting, I get a response stating that MaxInstances must be an integer between 1 & 10000. Is there a way to set this to 0 without manually diving into the ApplicationHost.config file?

     

    Also, what are the implications of setting this too high or low? I've seen a number of performance sites suggest setting it to 1 to manage CPU load, while others suggested 10+. Microsoft defaults the setting to 4, so I was wondering what the implications of this setting are in relation to visitor and CPU load.

  • Re: FastCGI MaxInstances setting

    Sep 30, 2013 10:24 PM|peterviola|LINK

    Hi,

    Take a look at this:

    http://www.iis.net/learn/application-frameworks/install-and-configure-php-on-iis/use-the-windows-cache-extension-for-php

    http://www.ksingla.net/2010/05/goodness-of-dynamic-maxinstances-in-fastcgi/

    The value should be set according to the number CPU cores. Approximately 8-10 per core.

    Peter Viola
    MCTIP SA, EST, DBA 2008
    MCSA Windows Server 2012

    Please 'Mark as Answer' if this post helps you.

    www.peterviola.com