Results 1 to 3 of 3

Thread: MPM Woker

  1. #1

    MPM Woker

    I am wondering is mpm worker is better when comparing to mpm prefork for large websites?

    Off Topic Forum - An Off Topic discussion Forum.

  2. #2
    Join Date
    Sep 2004
    Chicago, IL
    Ben Lenard, MS, MBA
    TechMinds 4 Hire, Inc - (866) 214-1285 x 2001

  3. #3
    Join Date
    Mar 2008
    I believe the point is prefork will run "faster" if you have the RAM to support it - many new admins think "oh I've got a quad core I should be good for 1000 clients" and configure their server so, not realizing that for mpm_prefork to support 1000 clients you basically need to be able to fit 1000 copies of Apache in RAM (there's more to it than that, but it simplifies and illustrates the problem). That's why in the first comment on the entry above, you see "my server is overloaded, but CPU usage is low" - because the server is spending all it's time swapping virtual memory and not doing any work.

    Note that the comments on that entry Re: PHP5 are outdated. Almost everyone in the intended audience of this site runs suphp, which implies fastcgi, of which mpm-worker is nothing but an advantage. Note that there may still be other Apache modules that aren't thread safe, but most people don't have any problems with it.

    If you're using mod_php, you might carefully consider mpm_worker, otherwise I'd say just give it a shot.
    I used to run the oldest commercial Mumble host.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts