hxbl
本帖最后由 hxbl 于 2019-9-28 12:02 编辑

出问题的代码




2021.12 数据,可能有更多内容出问题的代码[spoiler][03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Thread-18
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 54 | Suspended: false | Native: false | State: WAITING
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.misc.Unsafe.park(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:403)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ch.njol.skript.ScriptLoader$AsyncLoaderThread.run(ScriptLoader.java:322)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Thread-16
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 49 | Suspended: false | Native: true | State: RUNNABLE
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.poll(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Thread.run(Thread.java:748)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Abandoned connection cleanup thread
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 43 | Suspended: false | Native: false | State: TIMED_WAITING
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Object.wait(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:64)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Thread.run(Thread.java:748)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Java2D Disposer
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 42 | Suspended: false | Native: false | State: WAITING
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Object.wait(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.java2d.Disposer.run(Disposer.java:148)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Thread.run(Thread.java:748)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Thread-14
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 40 | Suspended: false | Native: false | State: TIMED_WAITING
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Thread.sleep(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: de.bananaco.nospawnchunks.MyThread.run(NoSpawnChunks.java:124)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: WorldEdit Session Manager
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 38 | Suspended: false | Native: false | State: TIMED_WAITING
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Object.wait(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.TimerThread.mainLoop(Timer.java:552)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.TimerThread.run(Timer.java:505)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Thread-11
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 37 | Suspended: false | Native: true | State: RUNNABLE
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.poll(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Thread.run(Thread.java:748)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Thread-10
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 35 | Suspended: false | Native: true | State: RUNNABLE
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.poll(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Thread.run(Thread.java:748)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Timer-0
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 34 | Suspended: false | Native: false | State: TIMED_WAITING
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Object.wait(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.TimerThread.mainLoop(Timer.java:552)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.TimerThread.run(Timer.java:505)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Thread-8
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 33 | Suspended: false | Native: true | State: RUNNABLE
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.poll(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Thread.run(Thread.java:748)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: Thread-7
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 32 | Suspended: false | Native: true | State: RUNNABLE
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.poll(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService.access$600(LinuxWatchService.java:47)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.java:314)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Thread.run(Thread.java:748)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: ------------------------------
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Current Thread: TConfigWatcherService-1
> [03:25:44] [Spigot Watchdog Thread/ERROR]: PID: 31 | Suspended: false | Native: false | State: TIMED_WAITING
> [03:25:44] [Spigot Watchdog Thread/ERROR]: Stack:
> [03:25:44] [Spigot Watchdog Thread/ERROR]: sun.misc.Unsafe.park(Native Method)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [03:25:44] [Spigot Watchdog Thread/ERROR]: java.lang.Thread.run(Thread.java:748)[/spoiler]




No848757
本帖最后由 No848757 于 2019-9-28 11:47 编辑

楼主拜托别拿灰色字体,看着难受
(代码部分请隐藏起来)
看起来像是watchdog出了点问题

hxbl
No848757 发表于 2019-9-28 11:43
楼主拜托别拿灰色字体,看着难受
(代码部分请隐藏起来)
看起来像是watchdog出了点问题 ...

watchdog是什么?

No848757
hxbl 发表于 2019-9-28 11:57
watchdog是什么?

看门狗,一种反作弊,当今也算好用

hxbl
No848757 发表于 2019-9-28 12:39
看门狗,一种反作弊,当今也算好用

可是我服务器里面没有这个插件

No848757
hxbl 发表于 2019-9-28 12:50
可是我服务器里面没有这个插件

把所有插件截图给我康康

hxbl
No848757 发表于 2019-9-28 12:51
把所有插件截图给我康康



云闪
看门狗 Spigot的一种服务端监控机制
作用是在服务端长时间未响应的时候(默认好像是60秒)强行停止服务器(看起来就是崩服)并给出线程dump(就是那些报错)。还可以设置重启脚本让他在强行停止的时候执行重启(虽然好像几乎没人用)

你的服务器应该是因为某种些插件/mod的原因导致主线程停滞过久,被看门狗强行停止服务器了
(另外你提供的报错似乎并不完整,其中并没有看见主线程)

No848757
hxbl 发表于 2019-9-28 13:39

嗯楼上说的没错,我漏了这一点,你可以发一下完整的报告吗

下一页 最后一页