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.

Too many FastCGI processes spawning

Discussion in 'Workarounds and Optimization' started by ryus, Feb 3, 2017.

Tags:
  1. ryus

    ryus Registered

    Joined:
    Feb 3, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    I am running cpanel on a 2 GB VPS for a client. The server has around 60 small/low traffic wordpress sites. Everything was good before the latest update to 62.0. I was using suphp as PHP handler. After the update, I switched to FCGI and everything looked great and fast. CPU Load went down drastically but the RAM usage shot up. while it used to be around 50% mark with suphp, with FCGID, it constantly hits 100% (+ 100% swap) and Clamd/Spamd/Mysql are going down often. I tried to limit the FCGID processes, to no use. Here are the settings I am using :

    ##Apache Event Default Settings (overrides main httpd.conf)
    KeepAlive On
    KeepAliveTimeout 2
    MaxKeepAliveRequests 10

    <IfModule mod_fcgid.c>
    FcgidMaxRequestLen 1073741824
    FcgidOutputBufferSize 1073741824
    FcgidMinProcessesPerClass 0
    FcgidMaxRequestsPerProcess 0
    FcgidMaxProcesses 8
    FcgidMaxProcessesPerClass 2
    FcgidFixPathinfo 1
    FcgidIdleTimeout 5
    FcgidBusyTimeout 45
    FcgidProcessLifeTime 30
    FcgidIOTimeout 30
    FcgidIdleScanInterval 2
    FcgidErrorScanInterval 10
    FcgidZombieScanInterval 10
    </IfModule>



    Still mod_fcgid status shows more than 50-60 FastCGI processes at time. Monitoring tools (Nixstats) also provide the same info (attached screenhot)


    What am I doing wrong ?

    Regards


     

    Attached Files:

  2. NOC_Serverpoint

    NOC_Serverpoint Well-Known Member

    Joined:
    Jul 3, 2016
    Messages:
    102
    Likes Received:
    6
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,281
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you verify the specific method you used to modify the settings?

    Thank you.
     
Loading...

Share This Page