IIS 7 and Above
Multiple CGI/ FastCGI instances
Last post Sep 30, 2016 08:31 AM by Jean Sun
Sep 09, 2016 09:02 AM|sierratec|LINK
- We have a wordpress site which was running under PHP version 5.3. We are using windows 2012 - IIS 8. (VPS )
- We upgraded PHP version from 5.3 to 5.6 few days back.
- After which we faced the issue ‘site hangs frequently. Regarding this when checked the task manager we noted that too many CGI/ FastCGI tasks were opened as in the screen shot - task-manager.jpg.
- We upgraded wordpress and plugin versions to the latest and removed unwanted plugins. But still the issue exists. Our wordpress version is 4.6.1. We have attached the screenshot regarding the plugins used - plugins-sierra-wp.png.
- We checked the settings as in
http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis and everything was fine
- The screen shot of the error
- Then we switched back the PHP version to 5.3. Till now there is no issue (nearly about 7 hours) and we are continuously checking on this.
Kindly suggest how to fix this
Sep 10, 2016 01:47 AM|lextm|LINK
What's the specs of your VPS? Did you try PHP 7?
Sep 10, 2016 06:03 AM|sierratec|LINK
We did not try PHP 7
We hosted in
Sep 13, 2016 09:12 AM|Yuk Ding|LINK
It seems that the problem comes from the error code"0x80070102"
You could try the following steps:
and locate the ActivityTimeout parameter; copy it into the [php] section. Change the parameter to whatever value you would like, and also make sure that it is not commented out. Restart IIS and you should be good.
2.configure the activity timeout under server/IIS/FastCGI Settings/Edit in IIS Manager.
Sep 26, 2016 10:30 AM|sierratec|LINK
Thanks for you reply and sorry for the late reply.
We checked and could not able to find fast cgi setting
Also could not able to find fciext.ini
Sep 26, 2016 05:53 PM|Yuk Ding|LINK
The screenshot you posted only show the feature in website node. It seems that you have installed the CGI feature. You could find the Fast-cgi feature in server node in IIS manager.
Apologize for my understanding that fciext.ini doesn't exist in IIS 7 and above. You just need to set activityTimeout parameter in Fast-cgi->add application.
It will be appreciated if you could mark me as the answer.
Sep 27, 2016 05:27 AM|sierratec|LINK
We checked and noted that this was already set. Please refer the below screen shot and suggest if anything additionally needs to be set
Sep 30, 2016 08:31 AM|Jean Sun|LINK
When you set the Max Instances to 0, it means that it can run as many FastCGI instance as possible.
You can set it to a specific value to limit the numbers of the FastCGI instances.