> Hi there,
>
> Is it possible to monitor the size of the backlog queue (number of
> incoming requests waiting for a worker to handle the request)?


This is already done in the master process if you use TCP sockets on Linux
(no way for UNIX socket). It alert you when the backlog is getting full,
but i can easily export this value to the uwsgi api.

  And
> the max wait time?
>

This is harder as the webserver must pass the timestamp it started sending
the request. I have sent some month ago a patch to the nginx list to
export a $time variable but got rejected :(

-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to