|OS type and version
||CentOS Linux 7.9.2009
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 184.108.40.206:54104] mod_fcgid: error reading data from FastCGI server, referer: https://www.MY_SITE_NAME.com/member.php
[Wed Dec 07 16:24:05.987752 2022] [core:error] [pid 13530] [client 220.127.116.11:54104] End of script output before headers: index.php, referer: https://www.MY_SITE_NAME.com/member.php
[Wed Dec 07 16:25:05.664104 2022] [fcgid:warn] [pid 11731] (70007)The timeout specified has expired: [client 18.104.22.168:54052] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://www.MY_SITE_NAME.com/join.php
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 https://tpnassist.com
*** Professional, Affordable, Trusted Technical Assistance – tpnAssist.com ***
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).