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.

What MPM to set in EasyApache?

Discussion in 'EasyApache' started by Secmas, Aug 20, 2011.

  1. Secmas

    Secmas Well-Known Member

    Joined:
    Feb 18, 2005
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Hi!
    I will like to know, What it would be the best configuration in EasyApache about MPM?

    I have already set MPM Prefork as it reads "recommended", but what about MPM Event and MPM Worker?

    Do you use this MPM commands in your servers?
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    What PHP handler are you using? You can find it listed in WHM > Apache Configuration > PHP and SuExec Configuration area.
     
  3. Secmas

    Secmas Well-Known Member

    Joined:
    Feb 18, 2005
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    It is SuPHP with PHP 5.3.6
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Since you are running suPHP, which is slower and more memory intensive than DSO (mod_php), you might consider using MPM Worker. MPM Worker isn't available with DSO (only MPM Prefork can be used with DSO).

    Under suPHP, you can use a threaded, multi-process MPM like Worker and it should be less memory intensive to offset the overhead of using suPHP.

    As for MPM Event, I don't have enough background with MPM Event to provide input on using it. It is similar to Worker but a newer implementation. It is still considered to be experimental.
     
  5. Secmas

    Secmas Well-Known Member

    Joined:
    Feb 18, 2005
    Messages:
    321
    Likes Received:
    0
    Trophy Points:
    16
    Thank you cPanelTristan.

    I have read that SuPHP is better for secutiry reasons than DSO because the way it handles the NOBODY user, so, if I keep using SuPHP it will be better to use MPM_Worker instead or MPM_Prefork?
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Correct, that is exactly what I would say is the case, since suPHP has higher memory usage (over DSO) and MPM Worker has less memory usage (over Prefork).
     
Loading...

Share This Page