Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

java - Modded Server Keeps crashing

So my friends and I made up a custom modpack for a SMP server. Things were running smoothly at first, but now the server randomly crashes every so often. I've been trying to go through the crash report and server log, but I can't seem to figure out what the issue is. I'm a Java programmer, but don't know all the details of the minecraft mod architecture through forge. Any help would be greatly appreciated. Here is the crash report:

Description: Watching Server

java.lang.Error: ServerHangWatchdog detected that a single server tick took 60.00 seconds (should be max 0.05)
    at java.util.zip.Deflater.deflateBytes(Native Method)
    at java.util.zip.Deflater.deflate(Deflater.java:444)
    at java.util.zip.Deflater.deflate(Deflater.java:366)
    at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:251)
    at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
    at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:145)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
    at java.io.DataOutputStream.write(DataOutputStream.java:107)
    at java.io.DataOutputStream.writeUTF(DataOutputStream.java:401)
    at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323)
    at net.minecraft.nbt.NBTTagCompound.func_150298_a(NBTTagCompound.java:474)
    at net.minecraft.nbt.NBTTagCompound.func_74734_a(NBTTagCompound.java:35)
    at net.minecraft.nbt.NBTTagList.func_74734_a(NBTTagList.java:34)
    at net.minecraft.nbt.NBTTagCompound.func_150298_a(NBTTagCompound.java:475)
    at net.minecraft.nbt.NBTTagCompound.func_74734_a(NBTTagCompound.java:35)
    at net.minecraft.nbt.NBTTagCompound.func_150298_a(NBTTagCompound.java:475)
    at net.minecraft.nbt.NBTTagCompound.func_74734_a(NBTTagCompound.java:35)
    at net.minecraft.nbt.CompressedStreamTools.func_150663_a(CompressedStreamTools.java:112)
    at net.minecraft.nbt.CompressedStreamTools.func_74800_a(CompressedStreamTools.java:102)
    at net.minecraft.nbt.CompressedStreamTools.func_74799_a(CompressedStreamTools.java:47)
    at net.minecraft.world.storage.MapStorage.func_75747_a(SourceFile:95)
    at net.minecraft.world.storage.MapStorage.func_75744_a(SourceFile:78)
    at net.minecraft.world.WorldServer.func_73042_a(WorldServer.java:1053)
    at net.minecraft.world.WorldServer.func_73044_a(WorldServer.java:1000)
    at net.minecraft.server.MinecraftServer.func_71267_a(MinecraftServer.java:408)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:691)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    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 java.util.zip.Deflater.deflateBytes(Native Method)
    at java.util.zip.Deflater.deflate(Deflater.java:444)
    at java.util.zip.Deflater.deflate(Deflater.java:366)
    at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:251)
    at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211)
    at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:145)
    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
    at java.io.DataOutputStream.write(DataOutputStream.java:107)
    at java.io.DataOutputStream.writeUTF(DataOutputStream.java:401)
    at java.io.DataOutputStream.writeUTF(DataOutputStream.java:323)
    at net.minecraft.nbt.NBTTagCompound.func_150298_a(NBTTagCompound.java:474)
    at net.minecraft.nbt.NBTTagCompound.func_74734_a(NBTTagCompound.java:35)
    at net.minecraft.nbt.NBTTagList.func_74734_a(NBTTagList.java:34)
    at net.minecraft.nbt.NBTTagCompound.func_150298_a(NBTTagCompound.java:475)
    at net.minecraft.nbt.NBTTagCompound.func_74734_a(NBTTagCompound.java:35)
    at net.minecraft.nbt.NBTTagCompound.func_150298_a(NBTTagCompound.java:475)
    at net.minecraft.nbt.NBTTagCompound.func_74734_a(NBTTagCompound.java:35)
    at net.minecraft.nbt.CompressedStreamTools.func_150663_a(CompressedStreamTools.java:112)
    at net.minecraft.nbt.CompressedStreamTools.func_74800_a(CompressedStreamTools.java:102)
    at net.minecraft.nbt.CompressedStreamTools.func_74799_a(CompressedStreamTools.java:47)
    at net.minecraft.world.storage.MapStorage.func_75747_a(SourceFile:95)
    at net.minecraft.world.storage.MapStorage.func_75744_a(SourceFile:78)
    at net.minecraft.world.WorldServer.func_73042_a(WorldServer.java:1053)
    at net.minecraft.world.WorldServer.func_73044_a(WorldServer.java:1000)
    at net.minecraft.server.MinecraftServer.func_71267_a(MinecraftServer.java:408)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:691)

-- Thread Dump --
Details:
    Threads: "Downloader 8" Id=152 TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@3320005
    at sun.misc.Unsafe.park(Native Method)
    -  waiting on java.util.concurrent.SynchronousQueue$TransferStack@3320005
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
    at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    ...


"AE Compass Service" Id=142 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@df5fe13
    at sun.misc.Unsafe.park(Native Method)
    -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@df5fe13
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)


"Netty Epoll Server IO #6" Id=137 RUNNABLE
    at io.netty.channel.epoll.Native.epollWait0(Native Method)
    at io.netty.channel.epoll.Native.epollWait(Native.java:117)
    at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:223)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:247)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at java.lang.Thread.run(Thread.java:748)


"Netty Epoll Server IO #5" Id=136 RUNNABLE
    at io.netty.channel.epoll.Native.epollWait0(Native Method)
    at io.netty.channel.epoll.Native.epollWait(Native.java:117)
    at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:223)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:247)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at java.lang.Thread.run(Thread.java:748)


"ForkJoinPool-1-worker-3" Id=125 WAITING on scala.concurrent.forkjoin.ForkJoinPool@9ca6b75
    at sun.misc.Unsafe.park(Native Method)
    -  waiting on scala.concurrent.forkjoin.ForkJoinPool@9ca6b75
    at scala.concurrent.forkjoin.ForkJoinPool.scan(ForkJoinPool.java:2075)
    at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
    at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)


"Chunk I/O Executor Thread-1" Id=123 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4cc8f428
    at sun.misc.Unsafe.park(Native Method)
    -  waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@4cc8f428
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)


"Netty Epoll Server IO #4" Id=119 RUNNABLE
    at io.netty.channel.epoll.Native.epollWait0(Native Method)
    at io.netty.channel.epoll.Native.epollWait(Native.java:117)
    at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:223)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:247)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at java.lang.Thread.run(Thread.java:748)


"Netty Epoll Server IO #3" Id=118 RUNNABLE
    at io.netty.channel.epoll.Native.epollWait0(Native Method)
    at io.netty.channel.epoll.Native.epollWait(Native.java:117)
    at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:223)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:247)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at java.lang.Thread.run(Thread.java:748)


"Netty Epoll Server IO #2" Id=117 RUNNABLE
    at io.netty.channel.epoll.Native.epollWait0(Native Method)
    at io.netty.channel.epoll.Native.epollWait(Native.java:117)
    at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:223)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:247)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at java.lang.Thread.run(Thread.java:748)


"threadDeathWatcher-2-1" Id=113 TIMED_WAITING
    at java.lang.Thread.sleep(Native Method)
    at io.netty.util.ThreadDeathWatcher$Watcher.run(ThreadDeathWatcher.java:152)
    at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
    at java.lang.Thread.run(Thread.java:748)


"Netty Epoll Server IO #1" Id=112 RUNNABLE
    at io.netty.channel.epoll.Native.epollWait0(Native Method)
    at io.netty.channel.epoll.Native.epollWait(Native.java:117)
    at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:223)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:247)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
    at java.lang.Thread.run(Thread.java:748)


"ic2-poolthread-4" Id=111 WAITING on ic2.core.util.PriorityExecutor$FixedPriorityQueue@5f69f79c
    at java.lang.Object.wait(Native Method)
    -  waiting on ic2.core.util.PriorityExecutor$FixedPriorityQueue@5f69f79c
    at java.lang.Object.wait(Object.java:502)
    at ic2.core.util.PriorityExecutor$FixedPriorityQueue.take(PriorityExecutor.java:143)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPo

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...