CraftMine CPU usage
-
Any idea on this strange looking cpu usage of CraftMine?
Cheers,
Bent
-
That indeed looks strange…
Recently I have deployed the ClearLagg plugin and configured it to unload unused chunks, especially if the server is sufferring from low TPS. Before ClearLagg was on the server, the TPS was lower than it is now as well as the RAM usage being consistently high with chunks failing to unload at times up to the point where the server crashes and restarts because it runs out of RAM.
I assume/guess that the cause of this CPU usage is where chunks are gradually being loaded and failing to unload, up to the point where ClearLagg either detects this or gets to its next routine time and correctly unloads all unused chunks, causing the CPU load to drop back to a low level again.
-
I’ve just removed YAMPST server-side as it no longer works but still generated statistics reports. This might provide a tiny further reduction in CPU usage.
-
@Paint_Ninja you have fixed the issue I’d say, good work! (latest statistics as of 20160707 22:34 CEST)
-
Okay after some scrolling and further investigation the issue still seems to be present. More suddle but still there. See the graph below with a different time scale. Looks really strange how cpu usage is slowly building up :thinking:
-
I also asked Chris (xF4m3) about his opinion and he recognized a 10 minute spike pattern in the first graph from today. Is there anything running every 10 minutes (600 seconds)? :timer:
-
Also see this graph of Steve’s Adventure Craft as an example for “normal usage”. (Same time span)
-
@Bent said in CraftMine CPU usage:
I also asked Chris (xF4m3) about his opinion and he recognized a 10 minute spike pattern in the first graph from today. Is there anything running every 10 minutes (600 seconds)? :timer:
ClearLagg is set to run every 600 seconds, which explains why the CPU usage gradually goes up until the next ClearLagg schedule is ran. I might decrease the tolerance of server TPS drops to help prevent this without making the schedule too frequent for the players.