Domain shows 500 internal server error: mod_fcgid: read data timeout

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 10.4 for Linux
  • Plesk Onyx for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 12:50:40 UTC

Modified:

2017-02-17 12:48:13 UTC

5

Was this article helpful?


Have more questions?

Submit a request

Domain shows 500 internal server error: mod_fcgid: read data timeout

Symptoms

A domain is not loading and a "500 internal server error" is being shown after ~45-60 seconds.

The following error can be observed in the domain error log /var/www/vhosts/example.com/logs/error_log file:

[warn] [client 10.10.10.10] mod_fcgid: read data timeout in 45 seconds, referer: http://www.example.com/admin/orders.php
[error] [client 10.10.10.10] Premature end of script headers: PDF.php, referer: http://www.example.com/admin/orders.php

Or

The following error can be found in /var/log/apache2/error.log :

[warn] mod_fcgid: process 16576 graceful kill fail, sending SIGKILL

Cause

The FcgidIOTimeout value - the maximum period of time the module will wait while trying to read from or write to a FastCGI application - has been exceeded.

Resolution

For Plesk 11.5 and later, FcgidIOTimeout parameter for the domain is set to the same value as max_execution_time PHP parameter.

For Plesk 10.x and 11.0.9 increase FcgidIOTimeout parameter in fcgid.conf file and restart Apache. The file can be found at:

  • RedHat based OSes: /etc/httpd/conf.d/fcgid.conf

  • Debian based OSes: /etc/apache2/mods-enabled/fcgid.conf

Additional information

#213920625 - When setting max_execution_time to 0, FcgidIOTimeout value is not set in virtual host configuration

Have more questions? Submit a request
Please sign in to leave a comment.