• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

FastCGI in Plesk 11/CentOS 6.3 - Timeout issues

Gary.B

New Pleskian
PHP support is currently set to: run as Fast CGI.

I keep getting these errors in my server log:
mod_fcgid: read data timeout in 45 seconds
Premature end of script headers: index.php

Should be quick fix I think, but I cant find the file to edit. Is this something I can change from Plesk.
Anyone know how to increase the timeout?
 
/etc/httpd/conf.d/fcgid.conf
This file does not exist on my server

I have three files inside etc folder: group, password and php.ini

In Plesk, I went into Website & Domain > File Manager to create folder httpd, I get this:
Error: Unable to create directory /etc/httpd: filemng: Error occurred during /bin/mkdir command.
 
Last edited:
FYI on Ubuntu (and probably possible other debian based distro's) the configuration is in /etc/apache2/mods-available/fcgid.conf

I changed FcgidIOTimeout to 120 there. 45 seconds was too small for a few specific export scripts and some other, 120 seems fine here. Personally don't care much for the shotgun approach by setting it to 1 or 2 hours (besides - PHP execution time limit will kick in way before that) - 1 script running for 1 or 2 hours is not accepted here anyways. But whatever value that exceeds the time it needs to run should suffice. I'd add a bit for cases where the server might be busy with other stuff too.
 
Back
Top