mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

ylluminate

Member
Apr 12, 2013
16
2
3
cPanel Access Level
Root Administrator
I am seeing, for a particular client, a lot of errors like this within the apache error log:
Code:
[Mon Dec 30 15:41:42.329886 2013] [:warn] [pid 21043] (104)Connection reset by peer: [client xxx.xxx.xxx.xxx:59131] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: [url]http://www.domain.tld/[/url]
[Mon Dec 30 15:41:42.342693 2013] [:warn] [pid 21051] (32)Broken pipe: [client xxx.xxx.xxx.xxx:31010] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: [url]http://www.domain.tld/[/url]
[Mon Dec 30 15:41:42.344245 2013] [:warn] [pid 21062] (32)Broken pipe: [client xxx.xxx.xxx.xxx:20925] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: [url]http://www.domain.tld/[/url]
[ 2013-12-30 15:41:46.0001 19825/7f6708fd2700 Pool2/Pool.h:723 ]: Analytics collection time...
[ 2013-12-30 15:41:46.0003 19825/7f6708fd2700 Pool2/Pool.h:827 ]: Analytics collection done; next analytics collection in 5.000 sec
[Mon Dec 30 15:41:47.244833 2013] [:warn] [pid 20872] (32)Broken pipe: [client 108.162.216.138:29079] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: [url]http://www.domain.tld/url-path/[/url]
I am running fastcgi and have set some options in the apache post config in whm:
Code:
<IfModule mod_fcgid.c>
  FcgidProcessLifeTime 8200
  FcgidIOTimeout 8200
  FcgidConnectTimeout 400
  FcgidMaxRequestLen 1073741824
  FcgidMaxRequestsPerProcess 1500
  FcgidMaxProcessesPerClass 100
  FcgidFixPathinfo 1
  FcgidIdleTimeout 900
  FcgidIdleScanInterval 120
  FcgidBusyTimeout 300
  FcgidBusyScanInterval 120
  FcgidErrorScanInterval 9
  FcgidZombieScanInterval 9
</IfModule>
Any ideas as to what may be going on here?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

You may need to increase some of the FCGI configuration values such as MaxRequestsPerProcess in order to prevent this error message from occurring. Note that cPanel does not recommend an FCGI configuration for your PHP handler. FCGI requires fine tuning of mod_fcgid to ensure that the server does not become overloaded with idle PHP processes. Instead, you may want to consider using suPHP or DSO with Mod_Ruid2.

Thank you.