Mojira Archive
MC-146579

Server CPU usage at 100% for all cores

Server has CPU usage to 100% causes many tick delays listed in debug mode. Starts to happen after players join and continues to do so after all players leave server. CPU usage jumps to 100% on all cores for about 5-10 seconds (maybe more) and repeats often, causing server lag, such as moving too quickly, not being able to pick up items, or opening chests. CPU usage on all cores is always >50% with players on. 

Update: Caused server to crash

---- Minecraft Crash Report ----
// I'm sorry, Dave.

Time: 3/23/19 9:03 PM
Description: Watching Server

java.lang.Error
	at uw.a(SourceFile:162)
	at uw.a(SourceFile:182)
	at vb.c(SourceFile:132)
	at vb.b(SourceFile:113)
	at vb.a(SourceFile:100)
	at bgf.a(SourceFile:195)
	at bgi.a(SourceFile:98)
	at bgf.c(SourceFile:190)
	at bgf.e_(SourceFile:411)
	at cme.a(SourceFile:420)
	at cme.a(SourceFile:408)
	at cme.a(SourceFile:327)
	at cme.a(SourceFile:292)
	at aoi.a(SourceFile:205)
	at aoi.a(SourceFile:131)
	at aoj.m(SourceFile:241)
	at aoj.c(SourceFile:195)
	at aii.cX(SourceFile:619)
	at aih.k(SourceFile:2206)
	at aii.k(SourceFile:479)
	at ahw.k(SourceFile:141)
	at apr.k(SourceFile:46)
	at aqj.k(SourceFile:132)
	at aih.h(SourceFile:2051)
	at aii.h(SourceFile:293)
	at vd.a(SourceFile:581)
	at vd$$Lambda$2308/768278870.accept(Unknown Source)
	at bgf.a(SourceFile:668)
	at vd.a(SourceFile:384)
	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
	at ue.b(SourceFile:343)
	at net.minecraft.server.MinecraftServer.a(SourceFile:755)
	at net.minecraft.server.MinecraftServer.run(SourceFile:630)
	at java.lang.Thread.run(Thread.java:748)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Server Watchdog
Stacktrace:
	at uw.a(SourceFile:162)
	at uw.a(SourceFile:182)
	at vb.c(SourceFile:132)
	at vb.b(SourceFile:113)
	at vb.a(SourceFile:100)
	at bgf.a(SourceFile:195)
	at bgi.a(SourceFile:98)
	at bgf.c(SourceFile:190)
	at bgf.e_(SourceFile:411)
	at cme.a(SourceFile:420)
	at cme.a(SourceFile:408)
	at cme.a(SourceFile:327)
	at cme.a(SourceFile:292)
	at aoi.a(SourceFile:205)
	at aoi.a(SourceFile:131)
	at aoj.m(SourceFile:241)
	at aoj.c(SourceFile:195)
	at aii.cX(SourceFile:619)
	at aih.k(SourceFile:2206)
	at aii.k(SourceFile:479)
	at ahw.k(SourceFile:141)
	at apr.k(SourceFile:46)
	at aqj.k(SourceFile:132)
	at aih.h(SourceFile:2051)
	at aii.h(SourceFile:293)
	at vd.a(SourceFile:581)
	at vd$$Lambda$2308/768278870.accept(Unknown Source)
	at bgf.a(SourceFile:668)
	at vd.a(SourceFile:384)
	at net.minecraft.server.MinecraftServer.b(SourceFile:816)
	at ue.b(SourceFile:343)
	at net.minecraft.server.MinecraftServer.a(SourceFile:755)

-- Thread Dump --
Details:
	Threads: "Server-Worker-1954" Id=2049 TIMED_WAITING on java.util.concurrent.ForkJoinPool@6db177da
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.ForkJoinPool@6db177da
	at java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)


"Server-Worker-1951" Id=2046 WAITING on java.util.concurrent.ForkJoinPool@6db177da
	at sun.misc.Unsafe.park(Native Method)
	-  waiting on java.util.concurrent.ForkJoinPool@6db177da
	at java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)


"Netty Epoll Server IO #7" Id=501 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(Thread.java:748)


"Netty Epoll Server IO #6" Id=255 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(Thread.java:748)


"Netty Epoll Server IO #5" Id=62 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(Thread.java:748)


"Netty Epoll Server IO #4" Id=61 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(Thread.java:748)


"Netty Epoll Server IO #3" Id=60 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(Thread.java:748)


"Netty Epoll Server IO #2" Id=25 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(Thread.java:748)


"Netty Epoll Server IO #1" Id=24 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(Thread.java:748)


"Server Watchdog" Id=23 RUNNABLE
	at sun.management.ThreadImpl.dumpThreads0(Native Method)
	at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:454)
	at uh.run(SourceFile:45)
	at java.lang.Thread.run(Thread.java:748)


"Netty Epoll Server IO #0" Id=22 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(Thread.java:748)


"ObjectCleanerThread" Id=21 TIMED_WAITING on java.lang.ref.ReferenceQueue$Lock@6376941c
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.ReferenceQueue$Lock@6376941c
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
	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(Thread.java:748)


"Server console handler" Id=20 RUNNABLE (in native)
	at java.io.FileInputStream.readBytes(Native Method)
	at java.io.FileInputStream.read(FileInputStream.java:255)
	at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
	at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
	-  locked java.io.BufferedInputStream@67491caa
	at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
	at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
	at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
	-  locked java.io.InputStreamReader@224b9e27
	at java.io.InputStreamReader.read(InputStreamReader.java:184)
	...


"DestroyJavaVM" Id=19 RUNNABLE


"Server thread" Id=16 RUNNABLE
	at uw.a(SourceFile:162)
	at uw.a(SourceFile:182)
	at vb.c(SourceFile:132)
	at vb.b(SourceFile:113)
	at vb.a(SourceFile:100)
	at bgf.a(SourceFile:195)
	at bgi.a(SourceFile:98)
	at bgf.c(SourceFile:190)
	...


"Server Infinisleeper" Id=17 TIMED_WAITING
	at java.lang.Thread.sleep(Native Method)
	at ue$1.run(SourceFile:93)


"Snooper Timer" Id=15 WAITING on java.util.TaskQueue@44223213
	at java.lang.Object.wait(Native Method)
	-  waiting on java.util.TaskQueue@44223213
	at java.lang.Object.wait(Object.java:502)
	at java.util.TimerThread.mainLoop(Timer.java:526)
	at java.util.TimerThread.run(Timer.java:505)


"Signal Dispatcher" Id=4 RUNNABLE


"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@132398ff
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.ReferenceQueue$Lock@132398ff
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216)


"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@3ca06a7d
	at java.lang.Object.wait(Native Method)
	-  waiting on java.lang.ref.Reference$Lock@3ca06a7d
	at java.lang.Object.wait(Object.java:502)
	at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)



Stacktrace:
	at uh.run(SourceFile:61)
	at java.lang.Thread.run(Thread.java:748)

-- System Details --
Details:
	Minecraft Version: 19w12b
	Operating System: Linux (amd64) version 4.15.0-46-generic
	Java Version: 1.8.0_201, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 1125588296 bytes (1073 MB) / 6380584960 bytes (6085 MB) up to 6380584960 bytes (6085 MB)
	JVM Flags: 2 total; -Xmx6144M -Xms4096M
	Player Count: 2 / 20; [ve['Betterllcoolace'/5437050, l='world', x=12.06, y=31.00, z=-540.71], ve['Diensn'/5437891, l='world', x=-8.61, y=95.78, z=-613.42]]
	Data Packs: vanilla
	Is Modded: Unknown (can't tell)
	Type: Dedicated Server (map_server.txt)

Duplicate

Robert

2019-03-24, 03:55 AM

2019-06-09, 03:48 PM

2019-06-09, 03:48 PM

38

21

Unconfirmed

Crash, Performance

Minecraft 19w12b, Minecraft 1.14, Minecraft 1.14.1

-