If you are using default of 15 request threads, you should actually be
seeing 18 threads in total in the mod_wsgi daemon process. One is the
original process thread which is waiting for process shutdown, two
background threads which monitor for liveness of the process and
shutdown triggers and then the 15 request threads.

How are you determining that there are two threads, a core stack dump?
If yes, I would like to see those stack dumps.

FWIW, I did see this issue recently, but was with a custom Apache
source build and Apple Python 2.6.5. Using Apache and Python supplied
by Apple, have no problems for same program that was causing the
issue. If you can provide a simple WSGI hello world that shows the
problem, then I can perhaps test it on my Apache/Python combo which I
know might be susceptible as still have it set up.

Graham

On 3 October 2011 14:56, Ron Garret <[email protected]> wrote:
>
> On Oct 2, 2011, at 4:47 PM, Graham Dumpleton wrote:
>
>> TLS = Thread Local Storage
>
> Ah.  That makes a lot more sense :-)
>
>> What Apache version are you using? The Apache supplied one or have you
>> built Apache from very recent Apache source code?
>
> The built-in one.
>
> Apache/2.2.17 (Unix) PHP/5.3.4 mod_ssl/2.2.17 OpenSSL/0.9.8r DAV/2 
> mod_wsgi/3.3 Python/2.7.2
>
> rg
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to