On Wed, 05 May 2010 13:44:27 +0200, Boris Schaeling <[email protected]>
wrote:
[...]Thanks, this sounds interesting! Just to make sure I'm understood
correctly: As we have to configure mod_wsgi and decide how many
processes and threads we want to use some feedback from mod_wsgi would
be great to tell us if our configuration setting for processes and
threads makes sense. So I'm not asking for more statistics. :)
After playing around I came up with the following command to look into
mod_wsgi:
top -H `ps -ef | egrep 'wsgi' | awk '{X=X" -p"$2}END{print X}'`
Although I can see the threads now the output is not that useful either. I
think one is really interested in the time it takes until a request is
picked by a free thread in mod_wsgi and processing starts? If it takes a
long time until a request is picked it is an indication that all threads
are busy and more threads could help? And this is something one can't
measure from outside mod_wsgi of course.
Was this something you had in mind when you were trying to capture some
statistics, Graham?
Boris
--
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.