The problem:
Anytime I'm online with other players, and the game is set to Easy, the server lags out, and crashes. It appears to be eating a lot of memory before the crash.
The conditions:
When It's just one player, server runs fine.
When two or more players are in close proximity, the server runs fine.
When the game is on Easy and it's daytime, the server runs fine.
When the server is on Peaceful, the server runs fine, regardless of distance between players, and non-hostile mobs.
I've tested locations other than my island. Distance appears to be a problem regardless of location.
The two other players tested it in my absence, and with sufficient distance, the server crashed.
I've tried ggservers and virtualgladiators for server hosting, and both have this crash.
I have had this issue since at least 19w04b. I have not tried earlier snapshots or 1.13.2
Attached is the most recent crash report.
Thank you,
19w05a\: [^crash-2019-02-02_22.24.22-server.txt]
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 2/2/19 10:24 PM
Description: Watching Server
java.lang.Error
at java.util.HashMap.hash(Unknown Source)
at java.util.HashMap.remove(Unknown Source)
at java.util.HashSet.remove(Unknown Source)
at aig.c(SourceFile:109)
at aif.a(SourceFile:59)
at ahn.b(SourceFile:502)
at aro.b(SourceFile:892)
at ut.b(SourceFile:238)
at ahe.e(SourceFile:1462)
at cjd.a(SourceFile:143)
at wy.b(SourceFile:297)
at wy.i(SourceFile:757)
at net.minecraft.server.MinecraftServer.a(SourceFile:813)
at net.minecraft.server.MinecraftServer.run(SourceFile:664)
at java.lang.Thread.run(Unknown Source)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server Watchdog
Stacktrace:
at java.util.HashMap.hash(Unknown Source)
at java.util.HashMap.remove(Unknown Source)
at java.util.HashSet.remove(Unknown Source)
at aig.c(SourceFile:109)
at aif.a(SourceFile:59)
at ahn.b(SourceFile:502)
at aro.b(SourceFile:892)
at ut.b(SourceFile:238)
at ahe.e(SourceFile:1462)
at cjd.a(SourceFile:143)
at wy.b(SourceFile:297)
at wy.i(SourceFile:757)
at net.minecraft.server.MinecraftServer.a(SourceFile:813)
-- Thread Dump --
Details:
Threads: "Netty Epoll Server IO #15" Id=58 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #14" Id=57 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #13" Id=56 RUNNABLE
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #12" Id=55 RUNNABLE
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #11" Id=54 RUNNABLE
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #10" Id=53 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #9" Id=52 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #8" Id=51 RUNNABLE
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #7" Id=50 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Server-Worker-8" Id=49 WAITING on java.util.concurrent.ForkJoinPool@6013bf61
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@6013bf61
at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
"Netty Epoll Server IO #6" Id=45 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #5" Id=44 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #4" Id=40 RUNNABLE
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #3" Id=39 RUNNABLE
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #2" Id=38 RUNNABLE (in native)
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Server Watchdog" Id=37 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
at tw.run(SourceFile:45)
at java.lang.Thread.run(Unknown Source)
"Netty Epoll Server IO #1" Id=36 RUNNABLE
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"Server-Worker-7" Id=35 WAITING on java.util.concurrent.ForkJoinPool@6013bf61
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@6013bf61
at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
"Server-Worker-6" Id=34 TIMED_WAITING on java.util.concurrent.ForkJoinPool@6013bf61
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@6013bf61
at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
"Server-Worker-4" Id=32 WAITING on java.util.concurrent.ForkJoinPool@6013bf61
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@6013bf61
at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
"Server-Worker-3" Id=31 WAITING on java.util.concurrent.ForkJoinPool@6013bf61
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@6013bf61
at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
"Server-Worker-2" Id=30 WAITING on java.util.concurrent.ForkJoinPool@6013bf61
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@6013bf61
at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
"Server-Worker-1" Id=29 WAITING on java.util.concurrent.ForkJoinPool@6013bf61
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.ForkJoinPool@6013bf61
at java.util.concurrent.ForkJoinPool.awaitWork(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
"Netty Epoll Server IO #0" Id=28 RUNNABLE
at io.netty.channel.epoll.Native.epollWait0(Native Method)
at io.netty.channel.epoll.Native.epollWait(Native.java:114)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:239)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:256)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
at java.lang.Thread.run(Unknown Source)
"ObjectCleanerThread" Id=27 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@6ed44d13
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@6ed44d13
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at io.netty.util.internal.ObjectCleaner$1.run(ObjectCleaner.java:54)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Unknown Source)
"Server console handler" Id=26 RUNNABLE (in native)
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(Unknown Source)
at java.io.BufferedInputStream.read1(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
- locked java.io.BufferedInputStream@6aebd411
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
- locked java.io.InputStreamReader@2fe94728
at java.io.InputStreamReader.read(Unknown Source)
...
"DestroyJavaVM" Id=25 RUNNABLE
"Server thread" Id=22 RUNNABLE
at java.util.HashMap.hash(Unknown Source)
at java.util.HashMap.remove(Unknown Source)
at java.util.HashSet.remove(Unknown Source)
at aig.c(SourceFile:109)
at aif.a(SourceFile:59)
at ahn.b(SourceFile:502)
at aro.b(SourceFile:892)
at ut.b(SourceFile:238)
...
"Server Infinisleeper" Id=23 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at tt$1.run(SourceFile:92)
"Snooper Timer" Id=21 WAITING on java.util.TaskQueue@52fc0d03
at java.lang.Object.wait(Native Method)
- waiting on java.util.TaskQueue@52fc0d03
at java.lang.Object.wait(Unknown Source)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
"Signal Dispatcher" Id=5 RUNNABLE
"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@1e0c6e9a
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@1e0c6e9a
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@2af37a16
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@2af37a16
at java.lang.Object.wait(Unknown Source)
at java.lang.ref.Reference.tryHandlePending(Unknown Source)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
Stacktrace:
at tw.run(SourceFile:61)
at java.lang.Thread.run(Unknown Source)
-- System Details --
Details:
Minecraft Version: 19w05a
Operating System: Linux (amd64) version 3.10.0-957.1.3.el7.x86_64
Java Version: 1.8.0_172, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 632530624 bytes (603 MB) / 2101555200 bytes (2004 MB) up to 3140747264 bytes (2995 MB)
JVM Flags: 15 total; -Xmx3072M -Xms768M -XX:+AggressiveOpts -XX:ParallelGCThreads=3 -XX:+UseConcMarkSweepGC -XX:+UnlockExperimentalVMOptions -XX:+UseParNewGC -XX:+ExplicitGCInvokesConcurrent -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:NewSize=84m -XX:+UseAdaptiveGCBoundary -XX:NewRatio=3
Player Count: 2 / 50; [ut['grandhighcanuck'/215, l='Realm Server', x=-431.24, y=63.00, z=2290.57], ut['katzevonstich'/4624, l='Realm Server', x=-457.16, y=71.00, z=206.96]]
Data Packs: vanilla
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)
Attachments
Comments 4
Having the same issue in 19w06a. The server starts to heavily lag when more than one player is in the server and eventually crashes due to one tick taking 60 seconds. Problem is fixed when the difficulty is set to peaceful mode.
Server crash log:
Sounds like you might have the max spawn rate in the server settings set too high, when all hostile mobs start spawning the server cant keep up
I'm also noticing some mining lag at night. Peaceful mode, just me on.