From 4f228f559080757be4dd88f0c7151081b848f272 Mon Sep 17 00:00:00 2001 From: Joshua Slive Date: Sun, 2 Jun 2002 15:28:08 +0000 Subject: [PATCH] Too much garbage in the summary. Just put there what "Joe Average User" needs to know. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95468 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/prefork.xml | 39 ++++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 11 deletions(-) diff --git a/docs/manual/mod/prefork.xml b/docs/manual/mod/prefork.xml index 97f8a9a1ff..dad1f5814e 100644 --- a/docs/manual/mod/prefork.xml +++ b/docs/manual/mod/prefork.xml @@ -10,11 +10,25 @@ mpm_prefork_module -

This Multi-Processing Module (MPM) implements a - non-threaded, pre-forking web server which handles request in a - manner very similar to the default behavior of Apache 1.3 on - Unix.

+

This Multi-Processing Module (MPM) implements a non-threaded, + pre-forking web server that handles requests in a manner similar + to Apache 1.3. It is appropriate for sites that need to avoid + threading for compatibility with non-thread-safe libraries. It + is also the best MPM for isolating each request, so that a problem + with a single request will not affect any other.

+ +

This MPM is very self-regulating, so it is rarely necessary to + adjust its configuration directives. Most important is that + MaxClients be big enough to + handle as many simultaneous requests as you expect to receive, but + small enough to assure that there is enough physical RAM for all + processes.

+
+Setting which addresses and + ports Apache uses + +
How it Works

A single control process is responsible for launching child processes which listen for connections and serve them when they arrive. Apache always tries to maintain several spare @@ -46,17 +60,12 @@ module="mpm_common">Group directives are used to set the privileges of the Apache child processes. The child processes must be able to read all the content that will be served, but - should have as few privileges beyond that as possible. In - addition, unless suexec is used, - these directives also set the privileges which will be inherited - by CGI scripts.

+ should have as few privileges beyond that as possible.

MaxRequestsPerChild controls how frequently the server recycles processes by killing old ones and launching new ones.

- -Setting which addresses and - ports Apache uses +
CoreDumpDirectory @@ -78,6 +87,10 @@ LockFile + +MaxClients + + MaxRequestsPerChild @@ -110,6 +123,10 @@ User + +Group + + AcceptMutex Method that Apache uses to serialize multiple children -- 2.40.0