edawg

Member
May 16, 2014
5
0
1
cPanel Access Level
Root Administrator
I keep getting the following two errors in my apache log and cannot find a fix for them. I'm pretty new to server-side issues so am hoping someone can help me out with this one(or two). Thanks in advance!

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
(104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function


It's a Wordpress website using WooCommerce, and whatever this error is, it's slowing down any xml product imports(updates) to a grinding halt. I have root access, and am using FCGI. I'm also finding a large server load that does not seem to be related to any of the Wordpress plugins.

Again, any help would be greatly appreciated! I've been struggling with this issue for the last few days and am about to print off my error logs, take them outside, and then BURN them!:)
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,256
463
Could you clarify what changes you made to your FCGI configuration when attempting to resolve the issue?

Thank you.
 

edawg

Member
May 16, 2014
5
0
1
cPanel Access Level
Root Administrator
Could you clarify what changes you made to your FCGI configuration when attempting to resolve the issue?

Thank you.
Sure. Thank you for the reply.

So I was told to add this next section to my Pre VirtualHost Include in WHM. Then save, and restart Apache.

<IfModule mod_fcgid.c>
FcgidMaxRequestLen 1073741824
FcgidProcessLifeTime 8200
FcgidIOTimeout 8200
FcgidConnectTimeout 500
FcgidMaxRequestsPerProcess 800
FcgidBusyTimeout 3600
</IfModule>

I just checked my logs once again, and here is the latest output.

gifsicle: <stdin>: empty file
gifsicle: <stdin>: empty file
gifsicle: <stdin>: empty file
gifsicle: <stdin>: empty file
[Fri May 16 19:08:49 2014] [warn] [client 199.21.99.102] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri May 16 19:08:49 2014] [warn] [client 199.21.99.102] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Fri May 16 19:08:57 2014] [warn] [client 157.55.35.99] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri May 16 19:08:57 2014] [warn] [client 157.55.35.99] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Fri May 16 19:10:52 2014] [warn] [client 199.21.99.102] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri May 16 19:10:52 2014] [warn] [client 199.21.99.102] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Fri May 16 19:29:15 2014] [warn] [client 66.249.70.125] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Fri May 16 19:29:15 2014] [warn] [client 66.249.70.125] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,256
463
You could try further increasing the "MaxRequestsPerProcess" value. However, please keep in mind, that as mentioned in the other thread, cPanel does not recommend an FCGI configuration for your PHP handler if you are not a qualified system administrator. 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.
 

edawg

Member
May 16, 2014
5
0
1
cPanel Access Level
Root Administrator
I think I'm just going to move hosts and start afresh! Getting tired of Bluehost to be honest!! I appreciate the help you gave to me. I'm looking forward to learning as much as I can while in the forums.