--- Kim Albee <[EMAIL PROTECTED]> wrote:

> yes -- but what is the difference?  i'm running Fedora Core 3 on a single
> processor Linux box, running Apache 2.x
> 
> what does prefork mean? vs. worker?

Basically,

PreFork is the old MPM from Apache 1.3 series and forks one process for each
new request. Worker is a multithreaded module. It will launch multiple threads
to service new requests. Apache 2.0 has other multithreaded MPMs, like
ThreadPool, PerChild, Leader (what happened to these in Apache 2.2?).

Worker is more efficient on the resources and faster. PreFork is "old school".

One word of warning. If you are running PHP on that Aapche, you will be forced
to use PreFork, since PHP doesn't guarantee thread safety. Don't misunderstand
me, PHP5 core IS thread-safe, most of the PHP extensions ARE thread-safe, but
most of the 3rd party libraries, used by those extensions ARE NOT. Therefore,
RPM install or YAST will set MPM to prefork if you load mod_php.

Nix.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to