Mod_fcgid: ap_pass_brigade failed in handle_request_ipc function

OS type and version CentOS Linux 7.9.2009
Webmin version 2.001
Virtualmin version 7.3
Related packages SUGGESTED

Hi Folks, I’m in a bit of bother and need your help please. My sites have come to a grinding halt. Very slow loading pages. Something related to PHP. I’ve toggled between FCGId vs FPM but the issue remains the same. I’ve read and read but unable to figure out what to try next. Thank you in advance.

[Wed Dec 07 16:24:05.987717 2022] [fcgid:warn] [pid 13530] (104)Connection reset by peer: [client] mod_fcgid: error reading data from FastCGI server, referer:
[Wed Dec 07 16:24:05.987752 2022] [core:error] [pid 13530] [client] End of script output before headers: index.php, referer:
[Wed Dec 07 16:25:05.664104 2022] [fcgid:warn] [pid 11731] (70007)The timeout specified has expired: [client] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer:


I’d be willing to help you out, however full disclosure this would be a paid session, though my rates are reasonable and I have a “no solution, no fee” policy.

Drop me a PM here or, contact me via

*** Professional, Affordable, Trusted Technical Assistance – ***

This indicates your app is slow. It’s timing out.

So, figure out why it is slow. Could be a badly behaving plugin, could be not enough memory (very likely, databases get hit hard when data gets swapped out), could be poor disk performance (but memory can reduce the impact of a slow disk at least for read-heavy workloads).

You may also just be getting hit hard with spammers. I see it’s the member.php and join.php pages having problems. Those are likely write requests (and so disk will be a factor). Check your access log to see how many requests you’re getting; could be a lot, who knows.

We don’t have enough information, really. We need to see your memory usage, CPU usage, and you’ll probably need to turn on slow query logging to see which queries are taking a long time (which can point you to which plugins or which code is actually slow, it may not be the actual join or member files, but rather some library they pull in).

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.