-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
High CPU Load #150
Comments
What are your startup flags? |
I am having the exact same issue. I am running the standalone on Linux (Debian). What I am noticing is that MCXboxBroadcast starts out using very little CPU and the usage climbs until it reaches 100% or if it is restarted. (I use a cron job to restart it every 8 hours). One thing to note is that I am running MCXboxBroadcast on a quad core system, and the CPU usage will only climb to 100% of a single core. (25% of the total CPU). I run the Minecraft Bedrock server on the exact same machine, but I have not really noticed any performance dips when playing on the server. My biggest concern is the excess power consumption and the fact that the physical server runs a bit hotter than normal even when no one is actively playing on the server. I am not using any startup flags when started MCXboxBroadcast, I am just using "java -jar MCXboxBroadcastStandalone.jar" |
@TylerJohnson177 My current workaround is that I restart it every 15 min using crontab.... Maybe that helps for u too until it gets fixed. |
Try build 60 I've added better handling of thread cleanup so there should be less threads that sit in the background hogging resources. |
I am also experiencing this issue on build 60. CPU usage is extremely high, reaches 100+% of 1 core pretty much instantly. openjdk version "21.0.4" 2024-07-16 Using extension build #60 Startup flags: |
We are also experiencing 100% usage, here's a thread dump |
@rtm516 Jea, we also still habe the same issue with 60, we're currently still work around it with scheduled restarts. |
How often are you restarting? I am seeing CPU usage spike significantly < 5m after restarting the bot. Are you restarting your entire proxy on a schedule? |
If someone can provide a debug log along side a thread dump that would be much appriciated as it might help me work out what exactally is going wrong |
What type of debug log do you want and thread dump from spark? |
A debug log from the server, enable it in the geyser config and then when the issue occurs send over that and the spark thread dump |
Hmmm that is bit difficult for me, geyser-debug is preeettty annoying as it generates a lot of logs when players move around item frames etc, I may hit PID limit, I will get you the spark dump soon. - Feel free to send me the exact command you want me to use. |
[18:56:20 INFO] [geyser]: [mcxboxbroadcast] [Primary Session] Successfully authenticated as Utopiverse (2535421049843580)
|
@rtm516 had to remove the plugin, it caused major issues, A lot of issues, Constant 1000% CPU Usage, Randomly hitting maximum process limit/memory limit causing some of the database plugins to stop working properly. |
Hello,
our Monitoring + htop shows extremely High CPU usage when using the latest standalone.
The drop off u see here was caused by a restart of the standalone.
Java Version:
Used Standalone:
The text was updated successfully, but these errors were encountered: