spark

spark

95M Downloads

ubuntu kernal update, ptero panel and new grub profile, wrong spark cpu indicators

LucidAPs opened this issue ยท 9 comments

commented

After a new kernal update on ubuntu, the ram and cpu statistics for the ptero panel stopped working, so we had to switch profiles in grub, in order to make them work. This had a side effect of completely messing up sparks cpu indicators.

in game
image
putty
image

You can read more on this issue here.
pterodactyl/panel#3999

commented

image
image

I was getting the same values before making this group setting. spark is showing my correct values i'm not sure

commented

I was getting the same values before making this group setting. spark is showing my correct values i'm not sure

You are getting the correct values before and after changing crub? Did you reboot after changing crub? Are you using ubuntu?

commented

I am using ubuntu 18.04 lts. As far as I remember, I was getting such values before I changed it. I haven't had any problems after replacing it.

commented

I am on Ubuntu 20.04lts maybe that's the difference.

commented

I've written a page in the docs which will hopefully be useful: https://spark.lucko.me/docs/misc/About-spark-metrics

tl;dr is that spark gets all of it's metrics data either from the server itself (e.g. the Bukkit API) or from methods in the Java standard library. If the raw data is wrong, unfortunately there's not a whole lot I can do about it.

I think you guys realise that already, and I appreciate you reporting it nonetheless, but I thought it would be good to clarify. :)

commented

I've written a page in the docs which will hopefully be useful: https://spark.lucko.me/docs/misc/About-spark-metrics

tl;dr is that spark gets all of it's metrics data either from the server itself (e.g. the Bukkit API) or from methods in the Java standard library. If the raw data is wrong, unfortunately there's not a whole lot I can do about it.

I think you guys realise that already, and I appreciate you reporting it nonetheless, but I thought it would be good to clarify. :)

I see, maybe the ptero server image might need updating then to adjust to these changes.

commented
commented

relevant? pterodactyl/panel#3988

Yeap, good work finding this sir. This is related indeed.

commented

Closing as this is a pterodactyl bug.