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

Negative total cpu time reported by the node stats REST API #1297

Closed
natoscott opened this issue Sep 2, 2011 · 0 comments
Closed

Negative total cpu time reported by the node stats REST API #1297

natoscott opened this issue Sep 2, 2011 · 0 comments

Comments

@natoscott
Copy link

We came across this little issue in using the node stats API, where the total CPU time values are reported as negative 1 while the user and kernel CPU times are non-zero. The command used was:

curl -XGET http://:9200/_cluster/nodes/stats
...
"process": {
"timestamp": 1314943670627,
"open_file_descriptors": 112,
"cpu": {
"percent": 1,
"sys": "343 milliseconds",
"sys_in_millis": 343,
"user": "3 seconds and 226 milliseconds",
"user_in_millis": 3226,
"total": "-1 milliseconds",
"total_in_millis": -1
},

This is on the 0.18 series of elasticsearch, running on a Mac OS X 10.6.8 machine with multiple CPUs.

cheers.

@kimchy kimchy closed this as completed in 63f2e84 Sep 2, 2011
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
jev001 pushed a commit to jev001/elasticsearch that referenced this issue Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants