You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Justin Erenkrantz <je...@ebuilt.com> on 2001/12/13 07:22:25 UTC

Comment in INSTALL

At the end of INSTALL:

>kfogel adds:
>
>Hmmm, I had thought httpd 2.0 also had these options: -DONE_PROCESS
>and -DNO_DETACH.  How are they related to -X, and/or should they be
>used in combination with -X?  Anyone know?

-X in recent httpd-2.0 builds (somewhere in the 2.0.22 series, I 
forget) has the end result of setting -DONE_PROCESS and -DNO_DETACH 
for all current MPMs.  So, just setting -X is sufficient to have one 
process that doesn't detach.  (As a side note, you could use -DDEBUG
instead of -X, but -X is the historical debug option in httpd.)

Our intention is that -X can be picked up by any modules to indicate
that httpd is running in "debug" mode.  So, for example, mod_dav_svn
could do special things when -X is specified.

HTH.  -- justin


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Comment in INSTALL

Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Thu, Dec 13, 2001 at 11:12:57AM -0600, Karl Fogel wrote:
> Thanks, Justin.
> 
> So does this mean that -DONE_PROCESS and -DNO_DETACH are obsolete for
> most practical purposes, and that one would really only ever want -X?
> If so, I'll remove that bit from INSTALL...

For most people, yes.  However, -DNO_DETACH does have its uses as you
can test the fork()ing of the MPMs.  This allows you to spawn the 
children processes but still allow the processes to be attached (i.e. 
connected to gdb).  Very good for checking out POD stuff.

However, I doubt that the SVN people would be too worried about
the proper functionality of the MPMs.  If you see a problem, just
kick it over to dev@httpd.  =)  -- justin


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Comment in INSTALL

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Justin Erenkrantz <je...@ebuilt.com> writes:
> >Hmmm, I had thought httpd 2.0 also had these options: -DONE_PROCESS
> >and -DNO_DETACH.  How are they related to -X, and/or should they be
> >used in combination with -X?  Anyone know?
> 
> -X in recent httpd-2.0 builds (somewhere in the 2.0.22 series, I 
> forget) has the end result of setting -DONE_PROCESS and -DNO_DETACH 
> for all current MPMs.  So, just setting -X is sufficient to have one 
> process that doesn't detach.  (As a side note, you could use -DDEBUG
> instead of -X, but -X is the historical debug option in httpd.)
> 
> Our intention is that -X can be picked up by any modules to indicate
> that httpd is running in "debug" mode.  So, for example, mod_dav_svn
> could do special things when -X is specified.

Thanks, Justin.

So does this mean that -DONE_PROCESS and -DNO_DETACH are obsolete for
most practical purposes, and that one would really only ever want -X?
If so, I'll remove that bit from INSTALL...

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org