httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: httpd -X: does it still work?
Date Mon, 14 Jan 2013 13:32:01 GMT
On Sat, Jan 12, 2013 at 05:42:55PM +0100, Stefan Fritsch wrote:
> On Saturday 12 January 2013, Graham Leggett wrote:
> > Hi all,
> > 
> > In theory, the -X flag is supposed to cause httpd to run a single
> > worker, and not detach or fork. What I'm finding in v2.4 is that
> 
> you mean a single worker process, which may start many threads.

And even with -X under prefork, you may get forked children.  Modules 
can do that, plus things like the glibc nss code can also spawn a thread 
automagically.  Running "httpd -X" outside gdb and then attaching to the 
child with gdb would show that.

Regards, Joe

Mime
View raw message