From 70b32134d1eb54457f4e091320a5eed92e8e3a12 Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Sun, 2 Jun 2002 02:27:07 +0000 Subject: [PATCH] Use directive tags on directives, rather than code tags. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95460 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/perchild.xml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/manual/mod/perchild.xml b/docs/manual/mod/perchild.xml index 3110791bfe..fe2e4de019 100644 --- a/docs/manual/mod/perchild.xml +++ b/docs/manual/mod/perchild.xml @@ -27,7 +27,8 @@ make it functional. indicated by the NumServers directive at server startup. Each child process creates threads as specified in the - StartThreads directive. The individual threads then + StartThreads directive. + The individual threads then listen for connections and serve them when they arrive.

Apache always tries to maintain a pool of spare or @@ -36,19 +37,22 @@ make it functional. threads to be created. For each child process, Apache assesses the number of idle threads and creates or destroys threads to keep this number within the boundaries specified by - MinSpareThreads and MaxSpareThreads. + MinSpareThreads + and MaxSpareThreads. Since this process is very self-regulating, it is rarely necessary to modify these directives from their default values. The maximum number of clients that may be served simultaneously is determined by multiplying the number of server processes - that will be created (NumServers) by the maximum + that will be created (NumServers) by the maximum number of threads created in each process - (MaxThreadsPerChild).

+ (MaxThreadsPerChild).

While the parent process is usually started as root under Unix in order to bind to port 80, the child processes and threads are launched by Apache as a less-privileged user. The - User and Group directives are used to + User and 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 @@ -56,7 +60,8 @@ make it functional. href="../suexec.html">suexec is used, these directives also set the privileges which will be inherited by CGI scripts.

-

MaxRequestsPerChild controls how frequently the +

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

-- 2.40.0