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.

Why would suPHP work faster than fastCGI?

Discussion in 'Workarounds and Optimization' started by anton_latvia, Apr 12, 2013.

  1. anton_latvia

    anton_latvia Well-Known Member
    PartnerNOC

    Joined:
    May 11, 2004
    Messages:
    348
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    Hello community!
    I have a very strange situation, which drives me crazy.
    Physical server, 4 core, 4gbram, raid10 disks, a ton of different sites.
    So far it had PHP configured as suPHP and the only major problem was little spikes of visitors, which created a bit high load. I decided to upgrade few things (like mysql 5.0->5.5, apache to latest 2.2.24, whm). Done that... Even set mysql temp folder to a tmpfs. And also changed PHP from suPHP to fastCGI (since it is so easy to set maximum number of processes per user there). And suddenly load jumped sky high... Turned back to suPHP - load dropped. Tried fastCGI again, even with different MPM - no change - fastCGI=load is high, suPHP=load is "ok".

    And this does not fit my head. Has anyone encourted similar situation or has any explanation, that would expalain it?

    Regards,
    Anton Aleksandrov
     
  2. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    #2 lorio, Oct 30, 2013
    Last edited: Oct 30, 2013
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  4. lorio

    lorio Well-Known Member

    Joined:
    Feb 25, 2004
    Messages:
    243
    Likes Received:
    3
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page