[GS] when waiting for connection gama-server uses 100% of one cpu core continuously #281
Labels
About GAMA Server
This issue concerns GAMA server usage
🤗 Enhancement
This is a request for enhancement
Describe the bug

I've noticed that gama-server is using close to 100% continuously of one of my cpu's core. It is not doing anything, just waiting for a client to connect so in my opinion it should have minimal cpu use.
Here is the cpu use from the windows task manager:
I'm not sure how windows gets to 9.6% but using 100% of one performance core on my computer would account for approx. 8% of the "maximum cumulated capacity" of the cpu if that makes sense. And in any case it should be 0 or 1% like the other processes that are idle.
If I look in the details it is pretty clear that at least one core gets overloaded as soon as I start gama-server, and never goes down:

I can't find another core that is constantly close to 100% though
To Reproduce
Steps to reproduce the behavior:
Expected behavior
gama-server should use minimum cpu when it's just idling and just waiting for clients to connect, like all other programs that have network capabilities do.
Desktop (please complete the following information):
Tested on multiple windows computers, I'm quite sure I saw that on linux too but it needs to be checked
The text was updated successfully, but these errors were encountered: