CraftMine CPU usage


  • Administrator

    0_1467682592761_Auswahl_675.png

    Any idea on this strange looking cpu usage of CraftMine?

    Cheers,

    Bent


  • CraftMiner

    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.


  • CraftMiner

    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.


  • Administrator

    @Paint_Ninja you have fixed the issue I’d say, good work! (latest statistics as of 20160707 22:34 CEST)

    0_1467923613005_Auswahl_681.png


  • Administrator

    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:

    0_1467924838789_Auswahl_682.png


  • Administrator

    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:


  • Administrator

    Also see this graph of Steve’s Adventure Craft as an example for “normal usage”. (Same time span)

    0_1467925224236_Auswahl_683.png


  • CraftMiner

    @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.


Log in to reply
 

Looks like your connection to UnitedWorldMiners was lost, please wait while we try to reconnect.