The (vanilla) server crashes even if nobody plays on it. There is no visible reason for the crash.
Here is the error log:
---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!
Time: 2023-10-02 12:07:34
Description: Watching Server
java.lang.Error: Watchdog
at [email protected]/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1364)
at bfr.i(SourceFile:131)
at bfr.a(SourceFile:124)
at bfq.c(SourceFile:31)
at dij.a(SourceFile:234)
at dij.a(SourceFile:172)
at dii.a(SourceFile:116)
at djl.a(SourceFile:299)
at djl.f(SourceFile:380)
at djl$$Lambda$7064/0x00007f5db0c99c78.accept(Unknown Source)
at it.unimi.dsi.fastutil.longs.LongOpenHashSet.forEach(LongOpenHashSet.java:762)
at it.unimi.dsi.fastutil.longs.LongIterable.forEach(LongIterable.java:146)
at it.unimi.dsi.fastutil.longs.AbstractLongCollection.forEach(AbstractLongCollection.java:153)
at djl.b(SourceFile:374)
at akq.a(SourceFile:800)
at net.minecraft.server.MinecraftServer.a(SourceFile:534)
at net.minecraft.server.MinecraftServer.b(SourceFile:558)
at net.minecraft.server.MinecraftServer.a(SourceFile:830)
at net.minecraft.server.MinecraftServer.w(SourceFile:667)
at net.minecraft.server.MinecraftServer.a(SourceFile:263)
at net.minecraft.server.MinecraftServer$$Lambda$5232/0x00007f5db09b5410.run(Unknown Source)
at [email protected]/java.lang.Thread.run(Thread.java:833)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server Watchdog
Stacktrace:
at [email protected]/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1364)
at bfr.i(SourceFile:131)
at bfr.a(SourceFile:124)
at bfq.c(SourceFile:31)
at dij.a(SourceFile:234)
at dij.a(SourceFile:172)
at dii.a(SourceFile:116)
at djl.a(SourceFile:299)
at djl.f(SourceFile:380)
at djl$$Lambda$7064/0x00007f5db0c99c78.accept(Unknown Source)
at it.unimi.dsi.fastutil.longs.LongOpenHashSet.forEach(LongOpenHashSet.java:762)
at it.unimi.dsi.fastutil.longs.LongIterable.forEach(LongIterable.java:146)
at it.unimi.dsi.fastutil.longs.AbstractLongCollection.forEach(AbstractLongCollection.java:153)
at djl.b(SourceFile:374)
at akq.a(SourceFile:800)
at net.minecraft.server.MinecraftServer.a(SourceFile:534)
at net.minecraft.server.MinecraftServer.b(SourceFile:558)
at net.minecraft.server.MinecraftServer.a(SourceFile:830)
at net.minecraft.server.MinecraftServer.w(SourceFile:667)
at net.minecraft.server.MinecraftServer.a(SourceFile:263)
-- Thread Dump --
Details:
Threads: "Reference Handler" daemon prio=10 Id=2 RUNNABLE
at [email protected]/java.lang.ref.Reference.waitForReferencePendingList(Native Method)
at [email protected]/java.lang.ref.Reference.processPendingReferences(Reference.java:253)
at [email protected]/java.lang.ref.Reference$ReferenceHandler.run(Reference.java:215)
"Finalizer" daemon prio=8 Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@5151bf4
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@5151bf4
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at [email protected]/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:172)
"Signal Dispatcher" daemon prio=9 Id=4 RUNNABLE
"Notification Thread" daemon prio=9 Id=12 RUNNABLE
"Common-Cleaner" daemon prio=8 Id=13 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@bd2f526
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@bd2f526
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/jdk.internal.ref.CleanerImpl.run(CleanerImpl.java:140)
at [email protected]/java.lang.Thread.run(Thread.java:833)
at [email protected]/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:162)
"DestroyJavaVM" prio=5 Id=15 RUNNABLE
"JNA Cleaner" daemon prio=5 Id=20 WAITING on java.lang.ref.ReferenceQueue$Lock@fed7084
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@fed7084
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at com.sun.jna.internal.Cleaner$1.run(Cleaner.java:58)
"Timer hack thread" daemon prio=5 Id=21 TIMED_WAITING
at [email protected]/java.lang.Thread.sleep(Native Method)
at ac$9.run(SourceFile:840)
"Yggdrasil Key Fetcher" daemon prio=5 Id=22 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4aefff1d
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4aefff1d
at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1672)
at [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
at [email protected]/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1062)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1122)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
...
"Server thread" prio=8 Id=32 RUNNABLE
at [email protected]/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:945)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1364)
at bfr.i(SourceFile:131)
at bfr.a(SourceFile:124)
at bfq.c(SourceFile:31)
at dij.a(SourceFile:234)
at dij.a(SourceFile:172)
at dii.a(SourceFile:116)
...
"Server console handler" daemon prio=8 Id=34 RUNNABLE (in native)
at [email protected]/java.io.FileInputStream.readBytes(Native Method)
at [email protected]/java.io.FileInputStream.read(FileInputStream.java:276)
at [email protected]/java.io.BufferedInputStream.read1(BufferedInputStream.java:282)
at [email protected]/java.io.BufferedInputStream.read(BufferedInputStream.java:343)
- locked java.io.BufferedInputStream@6708870f
at [email protected]/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)
at [email protected]/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)
at [email protected]/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)
- locked java.io.InputStreamReader@7bef350d
at [email protected]/java.io.InputStreamReader.read(InputStreamReader.java:177)
...
"Netty Epoll Server IO #0" daemon prio=5 Id=35 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:209)
at io.netty.channel.epoll.Native.epollWait(Native.java:202)
at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at [email protected]/java.lang.Thread.run(Thread.java:833)
"Server Watchdog" daemon prio=8 Id=42 RUNNABLE
at [email protected]/sun.management.ThreadImpl.dumpThreads0(Native Method)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:521)
at [email protected]/sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:509)
at ajq.run(SourceFile:47)
at [email protected]/java.lang.Thread.run(Thread.java:833)
"Java2D Disposer" daemon prio=10 Id=43 WAITING on java.lang.ref.ReferenceQueue$Lock@1fe213a4
at [email protected]/java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@1fe213a4
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:155)
at [email protected]/java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:176)
at [email protected]/sun.java2d.Disposer.run(Disposer.java:145)
at [email protected]/java.lang.Thread.run(Thread.java:833)
"Netty Epoll Server IO #1" daemon prio=5 Id=45 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:209)
at io.netty.channel.epoll.Native.epollWait(Native.java:202)
at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at [email protected]/java.lang.Thread.run(Thread.java:833)
"Netty Epoll Server IO #2" daemon prio=5 Id=46 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:209)
at io.netty.channel.epoll.Native.epollWait(Native.java:202)
at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at [email protected]/java.lang.Thread.run(Thread.java:833)
"Netty Epoll Server IO #3" daemon prio=5 Id=190 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:209)
at io.netty.channel.epoll.Native.epollWait(Native.java:202)
at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at [email protected]/java.lang.Thread.run(Thread.java:833)
"Netty Epoll Server IO #4" daemon prio=5 Id=271 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:209)
at io.netty.channel.epoll.Native.epollWait(Native.java:202)
at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at [email protected]/java.lang.Thread.run(Thread.java:833)
"Netty Epoll Server IO #5" daemon prio=5 Id=272 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:209)
at io.netty.channel.epoll.Native.epollWait(Native.java:202)
at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at [email protected]/java.lang.Thread.run(Thread.java:833)
"Netty Epoll Server IO #6" daemon prio=5 Id=378 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:209)
at io.netty.channel.epoll.Native.epollWait(Native.java:202)
at io.netty.channel.epoll.EpollEventLoop.epollWaitNoTimerChange(EpollEventLoop.java:316)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:373)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at [email protected]/java.lang.Thread.run(Thread.java:833)
"IO-Worker-637" prio=8 Id=681 RUNNABLE
Stacktrace:
at ajq.run(SourceFile:63)
at java.base/java.lang.Thread.run(Thread.java:833)
-- Performance stats --
Details:
Random tick rate: 3
Level stats: ResourceKey[minecraft:dimension / minecraft:overworld]: players: 0, entities: 92,92,53,529,529,0,0 [minecraft:sheep:23,minecraft:chicken:17,minecraft:pig:13,minecraft:item:13,minecraft:chest_minecart:9], block_entities: 55 [minecraft:mob_spawner:43,minecraft:sign:8,minecraft:hanging_sign:1,minecraft:furnace:1,minecraft:bell:1], block_ticks: 1062, fluid_ticks: 2309, chunk_source: Chunks[S] W: 2209 E: 92,92,53,529,529,0,0,
ResourceKey[minecraft:dimension / minecraft:the_end]: players: 0, entities: 0,0,0,0,0,0,0 [], block_entities: 0 [], block_ticks: 0, fluid_ticks: 0, chunk_source: Chunks[S] W: 0 E: 0,0,0,0,0,0,0,
ResourceKey[minecraft:dimension / minecraft:the_nether]: players: 0, entities: 0,0,0,0,0,0,0 [], block_entities: 0 [], block_ticks: 0, fluid_ticks: 0, chunk_source: Chunks[S] W: 0 E: 0,0,0,0,0,0,0
-- System Details --
Details:
Minecraft Version: 1.20.2
Minecraft Version ID: 1.20.2
Operating System: Linux (amd64) version 5.4.0
Java Version: 17.0.8.1, Private Build
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode, sharing), Private Build
Memory: 2925736640 bytes (2790 MiB) / 6408896512 bytes (6112 MiB) up to 17179869184 bytes (16384 MiB)
CPUs: 8
Processor Vendor: GenuineIntel
Processor Name: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
Identifier: Intel64 Family 6 Model 63 Stepping 2
Microarchitecture: Haswell (Server)
Frequency (GHz): 2.50
Number of physical packages: 1
Number of physical CPUs: 10
Number of logical CPUs: 10
Graphics card #0 name: unknown
Graphics card #0 vendor: unknown
Graphics card #0 VRAM (MB): 0.00
Graphics card #0 deviceId: unknown
Graphics card #0 versionInfo: unknown
Virtual memory max (MB): 0.00
Virtual memory used (MB): 8267.82
Swap memory total (MB): 0.00
Swap memory used (MB): 0.00
JVM Flags: 2 total; -Xms1G -Xmx16G
Server Running: true
Player Count: 0 / 10; []
Data Packs: vanilla, file/sparetheanimals2.0
Enabled Feature Flags: minecraft:vanilla
World Generation: Stable
Is Modded: Probably not. Server jar signature and brand is untouched
Type: Dedicated Server (map_server.txt)
Attachments
Comments 6
The thing is: the server does not do much (no players online in MC). So I wonder how the server can be laggy.
Spawn chunks are always loaded, even if nobody is in the world; you could also simply be assigning too little memory for it to keep up, or have a data pack that has an infinitely looping function.
With the reduction of the default size of spawn chunks in 24w03a, can you still confirm this issue?
Your server freezes, watchdog shuts it down then, that's not a bug.
Unless you can pinpoint a cause of lag (the freeze), this is not an accepted bug report.