Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculation of ES CPU Usage(in %) goes beyond 100% #12039

Closed
shruthisantosh opened this issue Jul 5, 2015 · 1 comment
Closed

Calculation of ES CPU Usage(in %) goes beyond 100% #12039

shruthisantosh opened this issue Jul 5, 2015 · 1 comment

Comments

@shruthisantosh
Copy link

Hi,

We have 3 Master, 2 Client and 19 Data nodes in our ES cluster.
Each of the data nodes have 8 VCPUs . We are using the following Rest API URL to get the values of nodes.process.cpu.percent(A) and nodes.os.cpu.total_cores(B),
http://localhost:9200/_cluster/stats?human&pretty
We are trying to calculate ES CPU Usage in percentage

using the formula, ((A / (100 *B)) * 100 . This computation is giving us values which go over 100%.

We observed that the value of (B) as 8 since there are 8 VCPUs in each of the nodes and due to this the value of (A) should be within 800. But we observed that the value of (A) goes beyond 800 which is causing the percentage to shoot up over 100.

esstats

Please can you let us know if our calculations are correct and if so then is the value of (A) from the REST API having some issue.

Thanks
Shruthi

@clintongormley
Copy link
Contributor

Hi @shruthisantosh

There are bugs in that statistic coming from sigar. I'm going to close this issue as we have removed Sigar completely in master #12010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants