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

CPU usage #63

Open
Deathay opened this issue Jan 30, 2022 · 3 comments
Open

CPU usage #63

Deathay opened this issue Jan 30, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Deathay
Copy link

Deathay commented Jan 30, 2022

Hello,

This was actually quite long time a bug i always forgot to report.

The cpu usage is extremely high after a time, i run this on a two core server, it works normal then randomly one core has been up to 100% and starts using the other core till then that bugs out to 100% as well. By solving it i restart docker docker restart $(docker ps -q). Do you have this similar issue? I also have run many servers on it, perhaps it is the logging of rcon?

One month stat of cpu: screen image

@dsnidr
Copy link
Member

dsnidr commented Jan 30, 2022

I haven't noticed this issue, but depending on how many servers you have it could definitely be logging related. How many servers do you have?

@Deathay
Copy link
Author

Deathay commented Jan 30, 2022

too many haha, couple are offline but for like 40 servers and 5 offline. But this was an issue for like in the very beginning with 30 servers too, some reason since last update a bit more faster as usual(but i can be wrong about this one, too fast to tell).

@dsnidr
Copy link
Member

dsnidr commented Jan 31, 2022

This could be caused by the underlying issues in the RefractorGSCM/RCON client. It is very error prone right now due to some design errors. I started a rewrite to hopefully address these errors this weekend, but it likely won't be complete for a while. Specifically, I think the logging of these errors could be causing it as you suggested above.

At some point I'll add an env flag to enable RCON logging and I'll have it disabled by default which will hopefully improve not only logging performance but also log readability. I'll follow up when the RCON issues are either fixed or the RCON logging changes were made.

@dsnidr dsnidr self-assigned this Jan 31, 2022
@dsnidr dsnidr added the bug Something isn't working label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants