I use flower to monitor my rabbitmq queues, I am not able to understand how load average is calculated, if someone can explain then that would be of great help.
I've a quad core processor .
Thank You.
I understand that this question has been asked for awhile and that it's probably figured out but for those who are new here is what I found:
As Stephen pointed out in the comments load average
is defined as follows :
def _load_average():
return tuple(ceil(l * 1e2) / 1e2 for l in os.getloadavg())
The source file is here.
And os.getloadavg()
as documented here:
system run queue averaged over the last 1, 5, and 15 minutes
Therefore the three numbers in the load average in the flower dashboard is just the system's queue load average multiplied by 100 (percentage, I am guessing) over the last 1, 5, and 15 minutes, respectively.
It denoted the load for specific worker/worker system in three different timelines. Consider this is the load average you are seeing in screen, 0.44, 0.28, 0.25, then it explains this way.
- last minute (0.44)
- last five minutes (0.28)
- the last fifteen (0.25).
This article will give complete clarity on this topic.
© 2022 - 2024 — McMap. All rights reserved.