httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: [PATCH] mpm_query
Date Wed, 11 Apr 2001 17:13:22 GMT
On Wed, 11 Apr 2001, Harrie Hazewinkel wrote:
> rbb@covalent.net wrote:
> > On Wed, 11 Apr 2001, dean gaudet wrote:
> > > On Wed, 11 Apr 2001 rbb@covalent.net wrote:
> > > > On Wed, 11 Apr 2001, Harrie Hazewinkel wrote:
> > > > > + /* The MPM types below should actually a string which enables better
identification */
> > > > > + #define AP_MPMQ_BEOS               1    /* MPM:Beos           
       */
> > > > > + #define AP_MPMQ_PERCHILD           2    /* MPM:perchild       
       */
> > > > > + #define AP_MPMQ_PREFORK            3    /* MPM:prefork        
       */
> > > > > + #define AP_MPMQ_SPMT_OS2           4    /* MPM:spmt_os2       
       */
> > > > > + #define AP_MPMQ_WINNT              5    /* MPM:winnt          
       */
> > > > > + #define AP_MPMQ_THREADED           6    /* MPM:threaded       
       */
> > > >
> > > > I dislike this.  The Modules shouldn't care which MPM they are running
on.
> > > > Why do we need this option?
>
> This option could be of interest to operators. With they could see
> what kind of MPM a perticular server in a server-farm uses.
> The way you retrieve this could be via a status page, SNMP, and others.

Why is this useful?  Isn't it more useful to know whether it is threaded
or process based.  Between that information and the OS, is that enough?  I
would rather add information like THREADS_DYNAMIC or THREADS_STATIC and
PROCESSES_DYNAMIC or PROCESSES_STATIC, to basically say if the number of
threads/process is static or not, and if the number of processes is
static.

I want to decouple the MPM query function from an actual name.  The goal
should be to report the properties of the MPM, not which exact MPM was
used.  Once that is done, the need for the string disappears.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message