Commit baaa2edb authored by Justin Erenkrantz's avatar Justin Erenkrantz
Browse files

As the worker MPM is really an alternative to the threaded MPM ...

As the worker MPM is really an alternative to the threaded MPM                  (and hopefully it'll be a replacement), the httpd.conf settings                 are identical.
Submitted by:	Aaron Bannert <aaron@clove.org>
Reviewed by:	Justin Erenkrantz


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90738 13f79535-47bb-0310-9956-ffa450edef68
parent 8c81b2e6
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -34,6 +34,14 @@ MaxSpareThreads 10
ThreadsPerChild 25
</IfModule>

<IfModule worker.c>
MaxClients       8
StartServers     3
MinSpareThreads  5
MaxSpareThreads 10
ThreadsPerChild 25
</IfModule>

# Assume no memory leaks at all
MaxRequestsPerChild 0

+16 −0
Original line number Diff line number Diff line
@@ -130,6 +130,22 @@ ThreadsPerChild 25
MaxRequestsPerChild  0
</IfModule>

# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of server processes allowed to start
# MinSpareThreads: minimum number of worker threads which are kept spare
# MaxSpareThreads: maximum number of worker threads which are kept spare
# ThreadsPerChild: constant number of worker threads in each server process
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers         3
MaxClients           8
MinSpareThreads      5
MaxSpareThreads     75 
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>

# perchild MPM
# NumServers: constant number of server processes
# StartThreads: initial number of worker threads in each server process