Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

4 posts / 0 new
Last post
#1 Sat, 01/18/2014 - 17:37
yngens

Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

Hi to All,

After importing large Drupal website we started to see the following error in the virtual servers error log:

[Sat Jan 18 07:04:03 2014] [warn] [client xx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://website.org:8080/
[Sat Jan 18 07:08:09 2014] [warn] [client xx.xxx.xxx.xxx]] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://website.org:8080/admin/reports/status
[Sat Jan 18 07:08:09 2014] [error] [client xx.xxx.xxx.xxx]] Premature end of script headers: index.php, referer: http://website.org:8080/admin/reports/status
[Sat Jan 18 07:28:33 2014] [warn] [client xx.xxx.xxx.xxx]] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://website.org:8080/admin/config/development/maintenance
[Sat Jan 18 07:28:33 2014] [warn] [client xx.xxx.xxx.xxx]] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://website.org:8080/admin/config/development/maintenance
[Sat Jan 18 07:34:42 2014] [warn] [client xx.xxx.xxx.xxx]] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jan 18 07:34:42 2014] [warn] [client xx.xxx.xxx.xxx]] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

Quick googling suggests different solutions and before trying them I wanted to consult to Virtualmin forums on what would be the best recommended way to resolve this issue?

Thanks!

Wed, 01/29/2014 - 14:31
nhsitehost

i keep seeing this too

Sat, 02/15/2014 - 17:03
tpnsolutions
tpnsolutions's picture

Hi,

This is a PHP-FCGI limit error you're receiving. You'll need to adjust either the "PHP_FCGI_MAX_REQUESTS" variable inside the "fcgi-bin/php5.fcgi" file for the domain or "FcgidMaxRequestsPerProcess" variable inside the Apache config file.

You can read more about this topic at:

http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#examples

If you're not familiar with these settings, I'd be happy to assist you in doing some detailed troubleshoot and work out a solution.

Best Regards,
Peter Knowles
TPN Solutions

Email: pknowles@tpnsolutions.com
Phone: 604-229-0715 (new)
Skype: tpnsupport
Website: http://www.tpnsolutions.com
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Tue, 10/10/2017 - 10:12
musicmouse

Hi, thanks for the suggestion.

In my case I get those messages in bursts. In one case 61 of them within 43 seconds. And within such a burst they contain all the same ip address - although every time a different port. Should I conclude that this is a hacking attempt? Or is there another explanation?