Realtime "Req in Processing"
is it possible with lsphp5 to get somehow access to the realtime stats ?
specially the value of "Requests in Processing"
the idea is simply to do some recovery if the server has too much backlog.
sometimes we have a bout 1000 Requests in processing resulting of poor database connections. (not a laws fault)
so the idea is to read this queue value somehow and adjust the scripts running if the backlog is getting too high.
|