• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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