IIS Configuration Optimization
Note:
When moving from Zend Core to Zend Server on IIS, Microsoft's FastCGI is used instead of the Zend's FastCGI. Therfore, the settings and configurations are in a different location. For more information per IIS version, see below.
Tuning FastCGI Configuration for IIS6
Note:
These performance enhancements are defined by default when you install Zend Server .
By default, Zend Server runs with a maximum of ten concurrent PHP instances. For high load Web servers, it is recommended to increase this value, based on your performance requirements and other hardware/software limitations (such as memory, CPU, etc.).
|
|
|
To control the maximum amount of concurrent PHP instances:
|
This will enable Zend Server to run ten PHP instances, for high loads. If you have lots of memory and high loads, you can increase this value even more. |
|
|
|
To control the amount of requests handled by a single PHP instance before recycling:
|
This will allow a single PHP instance to handle 10,000 requests, instead of the default 1,000. If you set this number higher, make sure you increase the value of PHP_FCGI_MAX_REQUESTS located in the same file accordingly. |
Tuning FastCGI Configuration for IIS7
Note:
These performance enhancements are defined by default when you install Zend Server .
By default, Zend Server runs with a maximum of ten concurrent PHP instances. For high load Web servers, it is recommended to increase this value, based on your performance requirements and other hardware/software limitations (such as memory, CPU, etc.).
Requirements: IIS7 Resource Kit -
(x86) http://www.iis.net/downloads/default.aspx?tabid=34&i=1682&g=6
(x64) http://www.iis.net/downloads/default.aspx?tabid=34&i=1683&g=6
Once installed, you can administer your FastCGi settings from the Internet Information Services (IIS) Manager.
From here, you can configure your MaxInstances and InstanceMaxRequests.
|
|
|
To tune FastCGi configuration for IIS7:
.
|
Depending on which settings you change, the Web server's memory and CPU consumption are adjusted. |