Minecraft Server stalls periodically. Client sees mobs freeze, items freeze for ~5s, which then jump to catch up. Server log says "can't keep up". Client is on local wifi with server. Server always sees during these ~5s a CPU spin jump to 100%; it usually hovers at 20%-40% CPU. This repeatable and constant stall was not seen prior to 1.7.* updates. Server drive is SSD and should not be a problem; java min 1G max 3G RAM, usually hovers at 1.4G RPRVT and 6G VSIZE. Stall usually seems to occur when a player is traveling generating new terrain; not seen usually while stationary. Full sample attached of java during a stall. World size is large; region folder is about 2.6G.
[19:12:44] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7101ms behind, skipping 142 tick(s)
[19:13:34] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7128ms behind, skipping 142 tick(s)
[19:14:24] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7132ms behind, skipping 142 tick(s)
[19:15:15] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7156ms behind, skipping 143 tick(s)
[19:16:05] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7116ms behind, skipping 142 tick(s)
[19:16:55] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7220ms behind, skipping 144 tick(s)
[19:17:45] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 7143ms behind, skipping 142 tick(s)
5314 Thread_5085917: Java: Server thread
+ 2763 ??? (in <unknown binary>) [0x102530b70]
+ ! 2719 ??? (in <unknown binary>) [0x1025283e6]
+ ! : 950 Java_java_util_zip_Deflater_deflateBytes (in libzip.jnilib) + 636 [0x102299065]
+ ! : | 900 ??? (in libzip.jnilib) load address 0x102293000 + 0x6c11 [0x102299c11]
+ ! : | + 535 ??? (in libzip.jnilib) load address 0x102293000 + 0x74b3 [0x10229a4b3]
+ ! : | + ! 204 ??? (in libzip.jnilib) load address 0x102293000 + 0x67a9 [0x1022997a9]
...
Attachments
Comments 8
Without GUI. My java executable is running with these params:
john 14477 3.5 19.4 6119080 1623304 ?? S 29Oct13 1438:33.29 /usr/bin/java -Xmx3072M -Xms1024M -jar /Users/john/Minecraft/server/minecraft_server.jar nogui
This is most noticeable when traveling with mobs or on a mob. Wolf pack stalls, riding horse causes no movement available every 30s.
Is this still a concern in the latest Minecraft version 14w02c? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
I think this issue stopped when we updated our vanilla server to the latest java version, but I'm not 100% sure. To be honest, as soon as bukkit/spigot builds started to become available, we switched to those. We won't run a vanilla server again until the 1.8 release lands. I know that's not very helpful, but alas, we only have so much time...
Is this still a concern in the current Minecraft version 14w11b / Launcher version 1.3.11 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
Is this still a concern in the current Minecraft version 14w20b / Launcher version 1.3.11 or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
curious, are you running the server with or without the GUI?