phpmanager icon indicating copy to clipboard operation
phpmanager copied to clipboard

Review issue #2788 on CodePlex - Registering new PHP version sets bad values set for FastCGI activityTimeout, requestTimeout

Open lextm opened this issue 7 years ago • 1 comments

Registering new PHP version sets bad values set for FastCGI activityTimeout, requestTimeout The registration method (either via IIS manager or New-PhpVersion) sets

idleTimeout : 300 activityTimeout : 300 requestTimeout : 300

This is vastly different than the defaults and means a bad PHP process will run for 5 minutes no matter what. https://www.iis.net/configreference/system.webserver/fastcgi/application

Setting all the values this way (equal) is also against best practice and can cause errors as per https://forums.iis.net/post/2095231.aspx

The activityTimeout and requestTimeout needs to be set to more meaningful values. I'd suggest you let the IIS defaults take effect, but at least you must maintain ( idleTimeout > requestTimeout > activityTimeout ) Proposed #2788 | Created 2016-04-22 | Updated 2016-04-22

lextm avatar Aug 01 '18 17:08 lextm

It is about what default values should be chosen, so should review the relevant code to see if IIS default values can be exposed directly.

lextm avatar Aug 02 '18 03:08 lextm

Duplicate to #62

lextm avatar Mar 09 '24 04:03 lextm