> On 3 Dec 2015, at 2:03 AM, Kent <[email protected]> wrote:
> 
> Is there an external way to detect whether a thread is currently handling a 
> request or how many threads are currently handling requests?

In the first instance have a look at:

https://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Extracting_Python_Stack_Traces
 
<https://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Extracting_Python_Stack_Traces>

If don’t need so much detail and just after counts to determine capacity 
utilisation for the process/server, then there are ways of getting such metrics 
out of mod_wsgi itself.

What I can’t remember right now is whether this specific metric is available in 
latest released version or still sitting on a branch with a bunch of other new 
metrics changes.

What is the specific problem you are trying to solve?

Graham

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.

Reply via email to