www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William L.Sebok <...@astro.umd.edu>
Subject general/8826: Threaded mpm creates large number of processes.
Date Wed, 21 Nov 2001 16:30:38 GMT

>Number:         8826
>Category:       general
>Synopsis:       Threaded mpm creates large number of processes.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Nov 21 08:40:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     wls@astro.umd.edu
>Release:        2.0.28
>Organization:
apache
>Environment:
Mandrake 8.0.  gcc-2.96
% uname -a
Linux gaia.astro.umd.edu 2.4.13-p3 #1 Wed Oct 24 11:25:57 EDT 2001 i686 unknown
Configured with:
CFLAGS="-O3 -march=i686" \
 ./configure \
 --prefix=/local/etc/www \
 --with-perl=/usr/bin/perl \
 --enable-mods-shared=all \
 --with-mpm=perchild
>Description:
I started with the standard httpd-std.conf copied to httpd.conf.  The relevant
parameters were:
<IfModule threaded.c>
StartServers         3
MaxClients         150
MinSpareThreads     25
MaxSpareThreads     75
ThreadsPerChild     25
MaxRequestsPerChild  0
</IfModule>
83 processes are created.
When (keeping other parameters the same) I reduce START_SERVERS to 1, 29
processes are created.

I was under the impression that the Threaded mpm would create a small number
of processes and field requests with threads inside those processes.  Instead
it creates a very large number of processes more than prefork mpm.  This makes
threaded mode essentially useless for a small server where I would like to keep
the number of processes as small as possible.

I noticed similar behavior in worker mpm.  perchild mpm would not compile.  Is
why preforked mpm is currently default for linux?
>How-To-Repeat:
See above.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message