Different number of max instances per application?RSS

1 reply

Last post Sep 26, 2012 10:30 AM by OWGD

  • Different number of max instances per application?

    Sep 13, 2012 12:36 PM|echoDreamz|LINK

    Hello,

     Is it possible to allow a different number of max instances for FastCGI / PHP per application instead of a global max number? I have a few apps that I would like to have only 1 for, and others 4.

     Is this something that can be set?

     Thanks!

  • Re: Different number of max instances per application?

    Sep 26, 2012 10:30 AM|OWGD|LINK


    Short Answer is Yes with IIS 7.5 :)

    7.5 Features http://www.iis.net/downloads/microsoft/fastcgi-for-iis

    • Setting of per-process environment variables
    • Configurable maximum number of FastCGI processes per application pool
    • Configurable maximum number of requests that FastCGI process can handle before being recycled by FastCGI
    • Configurable idle timeout that can be used to optimize resource utilization on a server
    • Named Pipes and TCP based communication channel between FastCGI handler and FastCGI processes

     

    Here is where to modify it:

    http://www.iis.net/configreference/system.webserver/fastcgi/application

    maxInstances Optional uint attribute.

    Specifies the maximum number of FastCGI worker processes that can be started in an application pool. Acceptable values are in the range from 1 through 10000.

    The default value is 4.

    Fast CGI

    Please "Mark" as Answer if this post helped you.

    OrcsWeb: Managed Windows Hosting Solutions
    "Remarkable Service. Remarkable Support."