- Plesk 12.5 for Linux
- Plesk Onyx for Linux
Websites are slow and the following warning is shown in
CONFIG_TEXT: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://www.example.com/index.php
# grep -r FcgidMaxRequestsPerProcess /etc/httpd/*
/etc/httpd/conf.d/fcgid.conf: FcgidMaxRequestsPerProcess 0
- PHP script executing taking too long and the browser is re-establishing a connection to the web server.
Note: in some cases, the issue may be resolved by updating PHP to the newer minor version. In order to update PHP packages provided by Plesk, Connect to a Plesk server via SSH, and run the following command:
# plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
If that does not help, use the following steps:
For cause 1:
/etc/httpd/conf.d/fcgid.conf(server-wide setting), or in Subscriptions > example.com > Apache&Nginx Settings > Additional Apache directives (domain-wide setting):
CONFIG_TEXT: <IfModule mod_fcgid.c>
Reload Apache configuration:
# service httpd reload
For cause 2:
This warning could be ignored as it does not cause website slow performance.
The interaction between the PHP, mod_fcgid and Apache is working well.