![]() |
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. |
EAProc In use/WaitQ in real-time stats is the one you look for. They reside in /tmp/lshttpd/.rtreport*
|
Quote:
can you shortly explain why there are multiple files are beeing created ? i had 1 yesterday now there are 2 with same date ... is /tmp/lshttpd/.rtreport always the current one ? |
rtreport* get generated by each CPU/core. you have 2-CPU license, so you see .rtreport and .rtreport.2. you should total the numbers from each rtreport for your report.
|
Quote:
here what i have done to put some "use" in this numbers Code:
PHP |
Thanks for sharing that, nullx8.
|
| All times are GMT -7. The time now is 03:32 AM. |