The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't figure out Apache Errors

Discussion in 'EasyApache' started by edawg, May 16, 2014.

  1. edawg

    edawg Member

    Joined:
    May 16, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    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!:)
     
  2. edawg

    edawg Member

    Joined:
    May 16, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks for the reply. But the suggestions in the links do not seem to fix this issue? Has anyone else had this problem?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. edawg

    edawg Member

    Joined:
    May 16, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    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
     
  5. edawg

    edawg Member

    Joined:
    May 16, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I've also increased max_exe as well, but with no luck.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
  7. edawg

    edawg Member

    Joined:
    May 16, 2014
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    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.
     
Loading...

Share This Page