Memory Leak and Tick speed
This spams the console with only one player on the server. While standing at spawn I do not seem to have this spam the console, but as I venture further out through the map this starts to spam the console (Slight variant each time). This is in debug mode, but I am assuming this causes the lag spikes (Warning cannot keep up with server error)
Here is a link to what seems to be others with the exact same issue
[Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded?
[06:37:18] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks.tickChunk.recheckGaps' took aprox 100.977362 ms [06:37:18] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks.tickChunk' took aprox 106.730703 ms [06:37:18] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks' took aprox 112.091694 ms [06:37:18] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick' took aprox 118.255128 ms [06:37:18] [Server thread/WARN]: Something's taking too long! 'root.levels.world' took aprox 118.608247 ms [06:37:18] [Server thread/WARN]: Something's taking too long! 'root.levels' took aprox 118.967678 ms [06:37:18] [Server thread/WARN]: Something's taking too long! 'root' took aprox 119.504795 ms [06:37:25] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.mobSpawner' took aprox 422.627479 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks.tickChunk.recheckGaps' took aprox 101.630706 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks.tickChunk' took aprox 117.091154 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks.tickChunk.recheckGaps' took aprox 109.624471 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks.tickChunk' took aprox 111.382491 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks.tickChunk.recheckGaps' took aprox 101.790449 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks.tickChunk' took aprox 103.417843 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.tickBlocks' took aprox 433.979968 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick' took aprox 864.156385 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels.world' took aprox 864.606252 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root.levels' took aprox 864.983491 ms [06:37:26] [Server thread/WARN]: Something's taking too long! 'root' took aprox 865.373127 ms [06:37:44] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.mobSpawner' took aprox 141.52976 ms [06:37:44] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick' took aprox 158.067112 ms [06:37:44] [Server thread/WARN]: Something's taking too long! 'root.levels.world' took aprox 158.633533 ms [06:37:44] [Server thread/WARN]: Something's taking too long! 'root.levels' took aprox 158.985849 ms [06:37:44] [Server thread/WARN]: Something's taking too long! 'root' took aprox 159.337368 ms [06:37:44] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick' took aprox 102.116817 ms [06:37:44] [Server thread/WARN]: Something's taking too long! 'root.levels.world' took aprox 102.741317 ms [06:37:44] [Server thread/WARN]: Something's taking too long! 'root.levels' took aprox 103.067681 ms [06:37:44] [Server thread/WARN]: Something's taking too long! 'root' took aprox 103.558964 ms [06:37:59] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.mobSpawner' took aprox 316.884846 ms [06:37:59] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick' took aprox 329.813771 ms [06:37:59] [Server thread/WARN]: Something's taking too long! 'root.levels.world' took aprox 330.224033 ms [06:37:59] [Server thread/WARN]: Something's taking too long! 'root.levels' took aprox 330.474154 ms [06:37:59] [Server thread/WARN]: Something's taking too long! 'root' took aprox 330.856069 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.mobSpawner.recheckGaps' took aprox 105.1787 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.mobSpawner.recheckGaps' took aprox 108.504752 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.mobSpawner' took aprox 247.54337 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick' took aprox 255.724714 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels.world' took aprox 256.029966 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels' took aprox 256.259085 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root' took aprox 256.69035 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick.mobSpawner' took aprox 303.470289 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels.world.tick' took aprox 313.382704 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels.world' took aprox 313.836947 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root.levels' took aprox 314.218438 ms [06:38:28] [Server thread/WARN]: Something's taking too long! 'root' took aprox 314.940271 ms
Less Important/Unimportant
I have tried multiple different flags, no flags, adjusting memory, etc..... What is suggested? just -server?
java -server -Xmx3596M -Xms3596M -jar server.jar nogui java -server -Xmx3596M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+DisableExplicitGC -XX:+AggressiveOpts -jar server.jar nogui java -Xms4092 -Xmx4092 -XX:+UseParallelOldGC -server -jar server.jar nogui
I also have used the suggested script at http://minecraft.gamepedia.com/Tutorials/Server_startup_script which looks something like (with the variable adjusted multiple times of course...):
java -Xmx${MAXHEAP}M -Xms${MINHEAP}M -XX:+UseConcMarkSweepGC \
-XX:+CMSIncrementalPacing -XX:ParallelGCThreads=$CPU_COUNT -XX:+AggressiveOpts \
-jar $SERVICE $OPTIONS
I have used multiple suggested JVM flags but with little or no change. (Most of them made the server less stable) I also have adjusted the Memory heap by lowering it just to make sure there is some overhead for other applications running (However I do have 500MB of swap just in case, though I am like99% sure that probably is a bad idea, I have since turned it off and on but do not think that the server every has needed to use it or attempted to, though I am not a professional!)
I thought perhaps it is the size of the map that may be causing this, but I would assume this shouldn't be the case... (I have no done testing on a server with a limited boarder other than the default)
I have also been told that building above the nether may cause the lag, but have not spent time in MCEdit looking to see if anyone has done so.
2015-01-10, 07:26 AM
2017-02-14, 04:59 PM
2017-02-14, 04:59 PM
0
2
Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1
-