The FastCGI process exceeded configured activity timeout. How to increase PHP CGI activity timeout?

Refers to:

  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Created:

2016-11-16 13:21:59 UTC

Modified:

2017-01-30 12:22:54 UTC

0

Was this article helpful?


Have more questions?

Submit a request

The FastCGI process exceeded configured activity timeout. How to increase PHP CGI activity timeout?

Question

The FastCGI process exceeded configured activity timeout. How to increase PHP CGI activity timeout?

Answer

  1. Open IIS Manager

  2. Go to Server name > IIS - FastCGI Settings

  3. Choose PHP handler that is actual for your website, right click on it in Full path column and choose Edit

  4. Change value of Activity Timeout setting (for example: 36000 [10 hours])

If FastCGI Settings icon is not available in IIS user interface then Activity Timeout parameter can be increased through applicationHost.config IIS configuration file :

  1. Make backup of %windir%\\system32\\inetsrv\\config\\applicationHost.config IIS configuration file.
  2. Then open it with text editor (e.g. Notepad) and modify <fastCgi> section as follows:

Before

     <fastCgi>
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\php-cgi.exe" maxInstances="12" idleTimeout="1800" activityTimeout="3600" />
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP54\\php-cgi.exe" />
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP5\\php-cgi.exe" />
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PHP\\php.exe" />
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP53\\php-cgi.exe" />
</fastCgi>

After

     <fastCgi>
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\bin\\php-cgi.exe" maxInstances="12" idleTimeout="1800" activityTimeout="3600" />
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP54\\php-cgi.exe" activityTimeout="3600"/>
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP5\\php-cgi.exe" activityTimeout="3600"/>
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PHP\\php.exe" activityTimeout="3600"/>
<application fullPath="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP53\\php-cgi.exe" activityTimeout="3600"/>
</fastCgi>

It will increases Activity Timeout parameter for all PHP handlers.

  1. Restart IIS web server:
    iisreset /stop
    iisreset /start
Have more questions? Submit a request
Please sign in to leave a comment.