NetEase / pomelo

A fast,scalable,distributed game server framework for Node.js.
http://pomelo.netease.com
MIT License
11.87k stars 2.9k forks source link

CPU utilization to 100 % of logic server. #1163

Open rathore-digvijay opened 4 years ago

rathore-digvijay commented 4 years ago

I am facing the issue of 100 percent utilization of CPU. I am running single core google cloud instance with 4gb RAM for each connector, logic and gate servers of mine. I am connecting clients from game build as well as automated code behaving like bots. When these starts the playing the game, the connectors CPU isn't used that much but the logic's CPU utilization reached 100% and then broadcast starts failing silently.

Can you suggest anything to resolve and debug the issue?

whtiehack commented 4 years ago

add more processes

rathore-digvijay commented 4 years ago

add more processes

What do you mean by adding more processes. I didn't get you.