-
Notifications
You must be signed in to change notification settings - Fork 11
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
CPU max usage #7
Comments
Hi. Thank you for showing interest in the project. This is a potential issue I am aware of and I'd like to investigate further with you.
Thank you very much |
here is my config |
It's just weird 1 person joined cpu spiked to 50% second person joined cpu spiked to 100% and there are no errors or any unexpected output. |
@InfiniteCod3 this is interesting. May I know what version of linux are you running? Also what distro? How are you running the program? Thanks |
Ubuntu 20.04.4 LTS, I'm running the program as root in the root directory with ./hopper or RUST_LOG="debug" ./hopper for the debug |
Also, your config file is wrong. It shouldn't be the cause of the problem but you might want to try with a correct configuration file: listen = "0.0.0.0:25565"
[routing.routes]
"katana.lol" = { ip-forwarding = "bungeecord", ip = "178.63.42.237:20006" } |
oh yeah thanks, i doubt its gonna fix the issue tho |
This comment was marked as spam.
This comment was marked as spam.
yea i know, can you try running it without bungeecord ip forwarding? thanks |
stills does the same, the cpu still spikes up |
The issue may be the low core count which creates some sort of spinlock condition between tasks. I will try doing some local testing with a limited number of cores |
I have just checked. Any core count ties hopper in an infinite loop. This appears to be a problem with the latest version. |
Hi. I think i have identified and solved this issue. Can you check on your end once the CI produces the binary? Thank you very much for your patience |
Hi, the problem has been solved hopper no longer eats the whole cpu. Thanks for the quick fix 👍 |
Hello, I have set up hopper to proxy a basic spigot server. even when no one uses the proxy, hopper tends to spike the cpu at 100% for like 10 minutes.
The text was updated successfully, but these errors were encountered: