Results 1 to 3 of 3

Thread: Apache MPM Prefork (default) or Worker for I7?

  1. #1
    Member
    Join Date
    Jul 2007
    Location
    Greece
    Posts
    79
    cPanel/WHM Access Level

    DataCenter Provider

    Default Apache MPM Prefork (default) or Worker for I7?

    On servers with newer I7 or Xeons (4 cores hyperthreading 8 cores)
    does anyone made tests which module runs better on Apache?

    EasyApache uses by default Prefork.
    I am testing both in one live server
    with only one php site without heavy use
    (200-300 users avg 40-50 req/sec)

    and I see that with worker it's a little faster.
    I am little worried about server load which reaches and exceeds 1.5
    and that's ridiculous if you think that one I7 920 serves only one site
    but anyway I can live with that.

    I don't know if with Prefork and other configuration than default
    may benefit those CPUs, that's why I am opening this thread,
    to see any opinions and other experiences with those modules.

  2. #2
    Member cmanns's Avatar
    Join Date
    Nov 2006
    Posts
    11

    Default

    Quote Originally Posted by chrismfz View Post
    On servers with newer I7 or Xeons (4 cores hyperthreading 8 cores)
    does anyone made tests which module runs better on Apache?

    EasyApache uses by default Prefork.
    I am testing both in one live server
    with only one php site without heavy use
    (200-300 users avg 40-50 req/sec)

    and I see that with worker it's a little faster.
    I am little worried about server load which reaches and exceeds 1.5
    and that's ridiculous if you think that one I7 920 serves only one site
    but anyway I can live with that.

    I don't know if with Prefork and other configuration than default
    may benefit those CPUs, that's why I am opening this thread,
    to see any opinions and other experiences with those modules.
    Hi

    Please give MPM_Event a try and mod_fcgid if you use lots of PHP, ensure you have ram.

    Also pop open google and learn to tune a system, sometimes a load of 1.5 could be normal.

  3. #3
    Member
    Join Date
    Jul 2007
    Location
    Greece
    Posts
    79
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by cmanns View Post
    Hi

    Please give MPM_Event a try and mod_fcgid if you use lots of PHP, ensure you have ram.

    Also pop open google and learn to tune a system, sometimes a load of 1.5 could be normal.
    Google is our friend but it just may be Drupal's problem (yes this one site is drupal based) and when they bloat it with almost every module they see it's going mad...

    I am using and testing now with Fcgid and Worker MPM. suExec on and I got
    status like that:

    Code:
    Server Version: Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_fcgid/2.3.5
    Server Built: Jun 6 2010 14:43:24
    Current Time: Sunday, 06-Jun-2010 20:35:29 EEST
    Restart Time: Sunday, 06-Jun-2010 16:01:36 EEST
    Parent Server Generation: 3
    Server uptime: 4 hours 33 minutes 53 seconds
    Total accesses: 496081 - Total Traffic: 4.2 GB
    CPU Usage: u35.77 s5 cu0 cs0 - .248% CPU load
    30.2 requests/sec - 269.4 kB/second - 8.9 kB/request
    70 requests currently being processed, 80 idle workers
    Anyway I will test Prefork again tomorrow to see loads/performance with
    the same visits - requests and Event maybe the day after tomorrow why not...

Similar Threads

  1. where is MPM Worker Setting?
    By Massoud in forum Optimization
    Replies: 7
    Last Post: 05-26-2011, 11:38 PM
  2. php-fcgid+eaccelerator+custom php.ini+apache2-mpm-worker= segfault?
    By internetfab in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 01-30-2011, 04:25 PM
  3. mpm-worker forces --disable-cgi PHP flag
    By pricejn2 in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 11-13-2010, 01:28 PM
  4. Apache 2.2 - prefork or worker?
    By ahostli in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 02-20-2009, 01:33 AM
  5. Apache 2.2 with Worker or prefork?
    By tolouei in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 05-22-2008, 10:59 AM

Tags for this Thread