httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: how to debug worker mpm httpd with gdb?
Date Wed, 13 Mar 2002 00:26:19 GMT
On Tue, Mar 12, 2002 at 04:23:47PM -0800, Aaron Bannert wrote:
> 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.

If you read Stas's message, he set TPC to 1, but it didn't work
right.  (The threads weren't peristent - they were always killed
off.)  -- justin


Mime
View raw message