- Plesk for Linux
Webmail works very slow throwing the following error message:
CONFIG_TEXT: Internal Server Error
The same error message is shown when searching through BODY in Roundcube webmail.
The following entries can be found in the Apache log
CONFIG_TEXT: [warn] [client 203.0.113.2] mod_fcgid: read data timeout in 45 seconds, referer: http://webmail.example.com/roundcube/?_task=mail&_mbox=INBOX
[error] [client 203.0.113.2] Premature end of script headers: index.php, referer: http://webmail.example.com/roundcube/?_task=mail&_mbox=INBOX
[warn] mod_fcgid: process 16617 graceful kill fail, sending SIGKILL
FcgidIOTimeout has been exceeded.
FcgidIOTimeout is the maximum period of time the PHP-FastCGI module waits while trying to read from or write to a FastCGI application.
Connect to the Plesk server via SSH.
Open the file
/etc/httpd/conf.d/fcgid.confin any editor and increase the value of
# grep FcgidIOTimeout /etc/httpd/conf.d/fcgid.conf
Restart the Apache service:
for CentOS/RHEL-based distributions::
# service httpd restart
- for Debian/Ubuntu-based distributions:
# service apache2 restart
If the issue still persist, increase the value of
FcgidIOTimeout. If there are a lot of domains that use PHP served by FastCGI, consider to switch a part of domains to PHP served by PHP-FPM to lower the load on FastCGI. For more information on how to switch PHP handlers, see Plesk documentation: