Monitoring WaitQ

edigest

Active Member
#1
Is there a way to monitor WaitQ other than eyeballing it on the real-time stats page?

I have some unexplained CloudFlare 520 errors. When I check the real-time stats page, WaitQ is always '0' but if there is an API or some output (/proc?) I can use to monitor WaitQ with a script it would be very helpful.
 

NiteWave

Administrator
#2
you can read and parse /tmp/lshttpd/.rtreport*
for 2-CPU license, it's 2 files:
.rtreport
.rtreport.2

4-CPU, there are 4 files:
.rtreport
.rtreport.2
.rtreport.3
.rtreport.4

and so on ...
 
Top