Server hangs for 30 minutes and players can't connect.
LadyCailinBot opened this issue ยท 3 comments
WORLDGUARD-3262 - Reported by spectec
06:14:49 ERROR: Current Thread: Server thread
06:14:49 ERROR: PID: 20 | Suspended: false | Native: false | State: RUNNABLE
06:14:49 ERROR: Thread is waiting on monitor(s):
06:14:49 ERROR: Locked on:org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
06:14:49 ERROR: Locked on:net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683)
06:14:49 ERROR: Stack:
06:14:49 ERROR: java.util.LinkedList.remove(LinkedList.java:364)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.UserCache.b(UserCache.java:145)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.UserCache.a(UserCache.java:218)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.UserCache.c(UserCache.java:194)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.UserCache.getProfile(UserCache.java:123)
06:14:49 ERROR: org.bukkit.craftbukkit.v1_8_R1.CraftServer.getOfflinePlayer(CraftServer.java:1288)
06:14:49 ERROR: com.sk89q.wepif.DinnerPermsResolver.hasPermission(DinnerPermsResolver.java:57)
06:14:49 ERROR: com.sk89q.wepif.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:153)
06:14:49 ERROR: com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermission(WorldGuardPlugin.java:517)
06:14:49 ERROR: com.sk89q.worldguard.protection.GlobalRegionManager.hasBypass(GlobalRegionManager.java:122)
06:14:49 ERROR: com.sk89q.worldguard.bukkit.listener.WorldGuardPlayerListener.checkMove(WorldGuardPlayerListener.java:124)
06:14:49 ERROR: com.sk89q.worldguard.bukkit.listener.WorldGuardPlayerListener.onPlayerTeleport(WorldGuardPlayerListener.java:618)
06:14:49 ERROR: sun.reflect.GeneratedMethodAccessor166.invoke(Unknown Source)
06:14:49 ERROR: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
06:14:49 ERROR: java.lang.reflect.Method.invoke(Method.java:497)
06:14:49 ERROR: org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
06:14:49 ERROR: org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
06:14:49 ERROR: org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
06:14:49 ERROR: org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:462)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:453)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:446)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.PacketPlayInFlying.a(SourceFile:126)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.PacketPlayInPositionLook.a(SourceFile:18)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13)
06:14:49 ERROR: java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
06:14:49 ERROR: java.util.concurrent.FutureTask.run(FutureTask.java:266)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623)
06:14:49 ERROR: net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526)
06:14:49 ERROR: java.lang.Thread.run(Thread.java:745)
06:14:49 ERROR: ------------------------------
WORLDGUARD VERSION
[06:55:40 INFO]: WorldGuard 6.0.0-SNAPSHOT.1479-
[06:55:40 INFO]: http://www.sk89q.com
[7:55:59 AM] Olof (Cayorion) Larsson: >version
[06:55:49 INFO]: This server is running CraftBukkit version git-Spigot-13716d9-0899683 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
[06:55:49 INFO]: Checking version, please wait...
[06:55:50 INFO]: You are 1 version(s) behind
[7:56:24 AM] Olof (Cayorion) Larsson: core server spigot 1.8 compiled 2014-12-30 (YYYY-MM-DD)
Screenshot is taken from VisualVM CPU sample at the time of the main server thread lock.
Comment by sk89q
I need a full dump of all the threads, preferably from jstack and not Spigot.
Comment by Cayorion
Of course. Here is the spigot watchdog thread dump from the server logs of that very time:
http://pastebin.com/raw.php?i=G6h8By7F
Next time this happens I will try to jstack it. At least we know for sure that this thread dump is related and matches with the VisualVM screenshot since I just went back and extracted from the server log.