Internal server error mod fcgi

Discussion in 'Site & Server Administration' started by ASTRAPI, Dec 8, 2010.

  1. #1
    Hello

    When i try to empty a category on a forum with 30.000 topics inside i got internal server error :(

    Apache log:

    [Thu Dec 09 05:13:52 2010] [warn] [client 123.456.789.999] mod_fcgid: read data timeout in 40 seconds, referer: http://www.forum.com/admin/index.php?adsess=2230448c&section=content&act=forum&code=empty&f=42

    [Thu Dec 09 05:13:52 2010] [error] [client 123.456.789.999] Premature end of script headers: index.php, referer: http://www.forum.com/admin/index.php?adsess=2230448c&section=content&act=forum&code=empty&f=42

    [Thu Dec 09 05:13:52 2010] [error] [client 123.456.789.999] File does not exist: /home/user/public_html/500.shtml, referer: http://www.forum.com/admin/index.php?adsess=2230448c&section=content&act=forum&code=empty&f=42

    [Thu Dec 09 05:14:01 2010] [warn] mod_fcgid: process 24014 graceful kill fail, sending SIGKILL


    Any ideas how to fix this?

    Thank you
     
    ASTRAPI, Dec 8, 2010 IP
  2. st1905

    st1905 Well-Known Member

    Messages:
    573
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    135
    #2
    Change your vhost settings to this or make it globally, I prefer vhost level

    <IfModule mod_fcgid.c>
    ProcessLifeTime 8200
    IPCCommTimeout  8200
    IPCConnectTimeout 400
    </IfModule>
    Code (markup):
     
    st1905, Dec 9, 2010 IP
  3. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I can't find this: <IfModule mod_fcgid.c> on httpd.conf :(
     
    ASTRAPI, Dec 11, 2010 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    Use your Includes editor in cPanel and add that in, though you may want to use the updated names for those:

    <IfModule mod_fcgid.c>
    FcgidProcessLifeTime 8200
    FcgidIOTimeout 8200
    FcgidConnectTimeout 400
    </IfModule>

    Chris
     
    RHS-Chris, Dec 11, 2010 IP