- Plesk Onyx for Linux
Plesk was upgraded from older version to Plesk Onyx.
The following error can be found in the /var/log/httpd/access_log:
[fcgid:warn] [pid 21944] (32)Broken pipe: [client 203.0.113.2:123456] mod_fcgid: can't write spawn command
The following can be found in /var/www/vhosts/example.com/logs/access_log:
"GET / HTTP/1.0" 200 38801 "-" "Mozilla/5.0 (compatible; monitis - premium monitoring service; http://www.monitis.com)"
The error disappears after Apache restart, but after some time occurs again.
Monitis service increases the load on mod_fcgid. The value of FcgidMaxProcesses parameter is not efficient.
- Connect to the server via SSH.
Edit the file
/etc/httpd/conf.d/fcgid.confwith text any editor and set value of
FcgidMaxProcessesparamater according to the number of websites hosted on the server. Value should be equal to number of websites or more.
Restart Apache webserver to apply the changes:
# service httpd restart