httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <aa...@clove.org>
Subject Re: how to debug worker mpm httpd with gdb?
Date Wed, 13 Mar 2002 00:23:47 GMT
On Tue, Mar 12, 2002 at 03:37:20PM -0800, Justin Erenkrantz wrote:
> -X should only create two threads: the manager thread and a single
> worker thread.  However, IIRC, it'll create ThreadsPerChild for that
> one process.  It should limit itself to just one worker thread.  
> 
> By limiting us to two httpd-created threads, it should be somewhat
> easier for the debugger/user to determine which thread they should
> attach to.  IMHO, the current solution of creating one process with
> a normal amount of workers isn't very nice.  -- justin

Just change ThreadsPerChild to 1 if you want this. If you really want it,
I see no reason we can't create a -DONE_WORKER or similiar MPM-specific
flag to do the same.

-aaron

Mime
View raw message