Hello,
Recently we have encountered with a new cpu problem on one of our games.
after x amount of time the cpu gets to 100% on several cores.
and eventually if the server is not restarted the server gets stuck.
I have checked the memory and it seems there are no leaks and there is plenty of free memory. we have allocated over 6GB of memory and the usage is usually less than 1GB.
So i suspect there's something that causes a loop in the code which i could not find after several code reviews.
How would you go and monitor your code at production to find the problematic loop?