I haven't actually given this any thought before, but my best bet is that
they are there so the process has something to clone when creating a new
thread after killing an old thread. There is always a main thread sitting
around also which would explain the (threads +1) * num processes + 1 threads
you are seeing.

Graham would be the authority on all this, so he may chime in a bit later.

~Carl

On Thu, Apr 28, 2011 at 2:58 PM, Brian D <brian.dewe...@gmail.com> wrote:

> Using Apache 2.2.14, mod_wsgi 3.3, and "WSGIDaemonProcess <name>
> processes=2 threads=1 <etc>", I've noticed that there are actually 3
> threads running in each mod_wsgi process, 4 if you count the main
> thread.  Does anyone know what these extra threads are for?
>
> Brian
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To post to this group, send email to modwsgi@googlegroups.com.
> To unsubscribe from this group, send email to
> modwsgi+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/modwsgi?hl=en.
>
>


-- 
-------------------------------------------------------------------------------
Carl J. Nobile (Software Engineer)
carl.nob...@gmail.com
-------------------------------------------------------------------------------

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

Reply via email to