Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 22nd February 2011, 18:33
talkingnews talkingnews is offline
Join Date: Jan 2011
Posts: 67
Thanks: 15
Thanked 6 Times in 6 Posts
Default "The Perfect Server" - but why prefork for Apache?

I installed "The Perfect Server" on my 512Mb RAM Ubuntu 10.10 VPS following this excellent guide.


But it says:

aptitude install apache2 apache2.2-common apache2-doc apache2-mpm-prefork apache2-utils ...etc
And sure enough, if I run apache2 -l I get:

Compiled in modules:
I've had continuing memory and resource issues whatever I tweaked, and then I saw the following guide:


Chose the right MPM for the right job:

prefork [default MPM for Apache 2.0 and 1.3]:
Apache 1.3-based.
Multiple processes, 1 thread per process, processes handle requests.
Used for security and stability.
Has higher memory consumption and lower performance over the newer Apache 2.0-based threaded MPMs.

Apache 2.0-based.
Multiple processes, many threads per process, threads handle requests.
Used for lower memory consumption and higher performance.
Does not provide the same level of isolation request-to-request, as a process-based MPM does.
Excuse my newbie-ish questions, but after having had a good poke around, I'm still not sure if and how I can swap the running versions of Apache.

I just want to try running worker instead of prefork for a day or two to see how it goes. How can I achieve this? Thank you!
Reply With Quote
Sponsored Links


apache 2, tuning, worker mpm

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
stalled: step 15 "the perfect server" expunkermikey Server Operation 5 29th April 2012 14:06
Mail server configuration with "The Perfect Server" for Ubuntu 10.10 SacreBleu Installation/Configuration 16 30th January 2011 02:21
Howtoforge the perfect Server(links) rini90 Installation/Configuration 0 14th December 2008 11:58
A few "The Perfect Server" Ubuntu style - questions theRick HOWTO-Related Questions 1 27th October 2008 13:23
Ubuntu "the perfect setup with RAID 1" Hans Installation/Configuration 1 16th January 2006 18:50

All times are GMT +2. The time now is 06:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.