Multiple CGI/ FastCGI instances [Answered]RSS

7 replies

Last post Sep 30, 2016 08:31 AM by Jean Sun

  • Multiple CGI/ FastCGI instances

    Sep 09, 2016 09:02 AM|sierratec|LINK

    Hi

     

    -        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

    Thanks

  • Re: Multiple CGI/ FastCGI instances

    Sep 10, 2016 01:47 AM|lextm|LINK

    What's the specs of your VPS? Did you try PHP 7?

    Lex Li
    IIS Consulting Services at https://support.lextudio.com/services/consulting.html
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Multiple CGI/ FastCGI instances

    Sep 10, 2016 06:03 AM|sierratec|LINK

  • Re: Multiple CGI/ FastCGI instances

    Sep 13, 2016 09:12 AM|Yuk Ding|LINK

    Hi sierratec,

    It seems that the problem comes from the error code"0x80070102"

    You could try the following steps:

    1.Go to

     %windir%\system32\inetsrv\fcgiext.ini 


    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.

    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.
  • Re: Multiple CGI/ FastCGI instances

    Sep 26, 2016 10:30 AM|sierratec|LINK

    Hi Yuk

    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

    Kindly suggest

  • Re: Multiple CGI/ FastCGI instances

    Sep 26, 2016 05:53 PM|Yuk Ding|LINK

    Hi sierratec,

    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.

    Best Regards,

    Yuk Ding

    Yuk Ding

    MSDN Community Support
    Please remember to "Mark as Answer" the responses that resolved your issue.
  • Re: Multiple CGI/ FastCGI instances

    Sep 27, 2016 05:27 AM|sierratec|LINK

    Hi Yuk,

    We checked and noted that this was already set. Please refer the below screen shot and suggest if anything additionally needs to be set

    Thanks

  • Re: Multiple CGI/ FastCGI instances

    Sep 30, 2016 08:31 AM|Jean Sun|LINK

    Hi sierratec,

    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.

    Best Regards,

    Jean

     

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue.
    If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.