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.

MPM is "prefork", mod_qos wants "worker", what to do?

Discussion in 'EasyApache' started by postcd, Apr 25, 2015.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    Hello,

    in Apache error log i found:
    [notice] mod_qos(009): loaded MPM is 'Prefork' but mod_qos should be used with MPM 'Worker' only.

    In EasyApache i have installed Mod Ruid2 0.9.8 and in easyapache i see this module "Disables MPM Worker".

    MPM Prefork (recommended) is unticked in EasyApache, but my EasyApache profile is:

    Apache 2.2
    PHP 5.3
    MPM Prefork <-----
    Mod Ruid2

    Server Version: Apache/2.2.29 (Unix) ... mod_qos/11.5

    so can i safelly ignore that qos warning or stop using mod qos? i see MPM prefork is recommended by cPanel... or what to do?

    Thank you
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,146
    Likes Received:
    34
    Trophy Points:
    48
    Location:
    India
    cPanel Access Level:
    Root Administrator
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    You will need to choose between using Mod_QOS and using Mod_Ruid2. The mpm_worker_module Apache MPM and the mpm_event_module Apache MPM are thread-based MPMs. MPMs that use threads do not work with the mod_ruid2 Apache module, because they alter the UID and GID at the process level.

    Thank you.
     
  4. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    thx, my mod_ruid did not worked, so i think i will have to use QOS and use EasyApache to enable MPM Worker even MPM Prefork is marked as "recommended" in EasyApache right..
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  6. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    thx, pls anyone knows why is prefork "recommended" (in easyapache) over "worker" so i know it is a good step to switch this?
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  8. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    thx, one more thing, in EasyApache, Exhaustive Options List, i did not found Worker MPM, only:
    MPM ITK
    MPM Prefork
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Do you have Mod_Ruid2 installed? Note that it's not compatible with MPM Worker.

    Thank you.
     
  10. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    624
    Likes Received:
    6
    Trophy Points:
    18
    Yes, when unticked Ruid2 in EasyApache, i think i was able to select MPM Worker. thanks

    At the end i switched back to Prefork as mod_qos still dont shown details per domain/user account on Apache Status page in WHM and on that Apache status page, there was too many dots (as available apache connection)
    sorry for my english
    My issue is now solved. Thanks
     
  11. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

Share This Page