You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Sapan Bhatia <sa...@corewars.org> on 2001/06/17 20:55:38 UTC

single process execution?

hello,
      The -X flag does not seem to work on Apache 2.0 (2.0.16). How do I force httpd to run as a single process to debug it?

TIA
-Sapan


Re: single process execution?

Posted by Jeff Trawick <tr...@attglobal.net>.
"Sapan Bhatia" <sa...@corewars.org> writes:

> hello,
>       The -X flag does not seem to work on Apache 2.0 (2.0.16). How
> do I force httpd to run as a single process to debug it?

./httpd -DONE_PROCESS

This should work with the preform MPM at least.

I don't know how well it works on 2.0.16.  Perhaps you have to kill -9
to make it go away.  Some signalling issues were fixed recently.

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...


Re: single process execution?

Posted by "Peter A. Friend" <oc...@corp.earthlink.net>.
On Sun, 17 Jun 2001, Sapan Bhatia wrote:

> 
> hello,
>       The -X flag does not seem to work on Apache 2.0 (2.0.16). How do I force httpd to run as a single process to debug it?

I don't know about 2.0, but with all the other versions I set
MaxClients to 1 or 2. Sometimes to do proper testing you need 2
children running and accepting connections, because having only one
child available can cause your browser to hang.

Peter

---
Software Engineer
EarthLink, Inc.

"I like it here. It's like a cross between Paris and France." - One of
   several teenage girls on a street corner in Rome


Re: single process execution?

Posted by rb...@covalent.net.
./httpd -DONE_PROCESS

Ryan

On Sun, 17 Jun 2001, Sapan Bhatia wrote:

>
> hello,
>       The -X flag does not seem to work on Apache 2.0 (2.0.16). How do I force httpd to run as a single process to debug it?
>
> TIA
> -Sapan
>
>


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