Lag and lag backs


#1

So I have a new server running a new modpack but on the server there is major lag and lag backs and I really do not understand why. I am 100% sure I have enough space on my computer to run the mods for the server.


#2

Please share server/computer specs, including RAM, CPU speed/cores, and OS. Also share the command your using to start the server.

The best thing you can do help would be to use Sponge Timings or similar to generate a timings report and share it here. I believe there is a docs page on this.


#3

---- Minecraft Crash Report ----

WARNING: coremods are present:
Contact their authors BEFORE contacting forge

// Why did you do that?

Time: 3/16/19 7:53 PM
Description: Watching Server

java.lang.Error: ServerHangWatchdog detected that a single server tick took 60.04 seconds (should be max 0.05)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75820_a(AnvilChunkLoader.java:324)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75816_a(AnvilChunkLoader.java:173)
at net.minecraft.world.gen.ChunkProviderServer.func_73242_b(ChunkProviderServer.java:202)
at net.minecraft.world.gen.ChunkProviderServer.func_73156_b(ChunkProviderServer.java:271)
at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:207)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:756)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
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 net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75820_a(AnvilChunkLoader.java:324)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75816_a(AnvilChunkLoader.java:173)
at net.minecraft.world.gen.ChunkProviderServer.func_73242_b(ChunkProviderServer.java:202)
at net.minecraft.world.gen.ChunkProviderServer.func_73156_b(ChunkProviderServer.java:271)
at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:207)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:756)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)

– Thread Dump –
Details:
Threads: “Chunk I/O Executor Thread-1” Id=58 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@15585447
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@15585447
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

“Netty Server IO #2” Id=54 RUNNABLE
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
- locked io.netty.channel.nio.SelectedSelectionKeySet@1b9fb89c
- locked java.util.Collections$UnmodifiableSet@1fa03f37
- locked sun.nio.ch.WindowsSelectorImpl@5aa2b2a7
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:732)

“threadDeathWatcher-2-1” Id=53 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(Unknown Source)

“Netty Server IO #1” Id=52 RUNNABLE (in native)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
- locked io.netty.channel.nio.SelectedSelectionKeySet@d0f2fd8
- locked java.util.Collections$UnmodifiableSet@6bb22dbd
- locked sun.nio.ch.WindowsSelectorImpl@75f5ee7b
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:732)

“File IO Thread” Id=51 RUNNABLE
at java.util.zip.Deflater.deflateBytes(Native Method)
at java.util.zip.Deflater.deflate(Unknown Source)
- locked java.util.zip.ZStreamRef@3a8d4de8
at java.util.zip.Deflater.deflate(Unknown Source)
at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
at java.util.zip.DeflaterOutputStream.finish(Unknown Source)
at java.util.zip.DeflaterOutputStream.close(Unknown Source)
at java.io.FilterOutputStream.close(Unknown Source)
at java.io.FilterOutputStream.close(Unknown Source)

“Server Watchdog” Id=50 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
at net.minecraft.server.dedicated.ServerHangWatchdog.run(ServerHangWatchdog.java:45)
at java.lang.Thread.run(Unknown Source)

“Netty Server IO #0” Id=42 RUNNABLE
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll0(Native Method)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.poll(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl$SubSelector.access$400(Unknown Source)
at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source)
at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source)
- locked io.netty.channel.nio.SelectedSelectionKeySet@4e88c48e
- locked java.util.Collections$UnmodifiableSet@342dc727
- locked sun.nio.ch.WindowsSelectorImpl@6ef161ef
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.SelectedSelectionKeySetSelector.select(SelectedSelectionKeySetSelector.java:62)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:732)

“JLine terminal non blocking reader thread” Id=32 WAITING on org.jline.utils.PumpReader@3ec393d4
at java.lang.Object.wait(Native Method)
- waiting on org.jline.utils.PumpReader@3ec393d4
at java.lang.Object.wait(Unknown Source)
at org.jline.utils.PumpReader.wait(PumpReader.java:66)
at org.jline.utils.PumpReader.waitForInput(PumpReader.java:86)
at org.jline.utils.PumpReader.read(PumpReader.java:151)
at org.jline.utils.NonBlockingReader.run(NonBlockingReader.java:276)
at java.lang.Thread.run(Unknown Source)

“Server console handler” Id=31 TIMED_WAITING on org.jline.utils.NonBlockingReader@36e78c36
at java.lang.Object.wait(Native Method)
- waiting on org.jline.utils.NonBlockingReader@36e78c36
at org.jline.utils.NonBlockingReader.read(NonBlockingReader.java:174)
at org.jline.utils.NonBlockingReader.read(NonBlockingReader.java:113)
at org.jline.keymap.BindingReader.readCharacter(BindingReader.java:132)
at org.jline.keymap.BindingReader.readBinding(BindingReader.java:109)
at org.jline.keymap.BindingReader.readBinding(BindingReader.java:60)
at org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:724)
at org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:526)

“DestroyJavaVM” Id=30 RUNNABLE

“Server thread” Id=28 RUNNABLE
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75820_a(AnvilChunkLoader.java:324)
at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_75816_a(AnvilChunkLoader.java:173)
at net.minecraft.world.gen.ChunkProviderServer.func_73242_b(ChunkProviderServer.java:202)
at net.minecraft.world.gen.ChunkProviderServer.func_73156_b(ChunkProviderServer.java:271)
at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:207)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:756)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)

“TimerQueue” Id=26 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@9b29b41
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@9b29b41
at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
at java.util.concurrent.DelayQueue.take(Unknown Source)
at javax.swing.TimerQueue.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Number of locked synchronizers = 1
- java.util.concurrent.locks.ReentrantLock$NonfairSync@6c297132

“Thread-3” Id=25 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@2bcdf490
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@2bcdf490
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at com.mojang.util.QueueLogAppender.getNextLogEvent(QueueLogAppender.java:77)
at net.minecraft.server.gui.MinecraftServerGui$4.run(MinecraftServerGui.java:154)
at java.lang.Thread.run(Unknown Source)

“AWT-EventQueue-0” Id=24 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@21c14be3
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@21c14be3
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.awt.EventQueue.getNextEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

“AWT-Windows” Id=22 RUNNABLE (in native)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

“AWT-Shutdown” Id=21 WAITING on java.lang.Object@6461e08
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@6461e08
at java.lang.Object.wait(Unknown Source)
at sun.awt.AWTAutoShutdown.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

“Java2D Disposer” Id=20 WAITING on java.lang.ref.ReferenceQueue$Lock@1bb3f512
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@1bb3f512
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at sun.java2d.Disposer.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

“Server Infinisleeper” Id=19 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at net.minecraft.server.dedicated.DedicatedServer$1.run(DedicatedServer.java:82)

“Snooper Timer” Id=18 TIMED_WAITING on java.util.TaskQueue@5f9eeb80
at java.lang.Object.wait(Native Method)
- waiting on java.util.TaskQueue@5f9eeb80
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)

“WindowsStreamPump” Id=14 RUNNABLE (in native)
at com.sun.jna.Native.invokeVoid(Native Method)
at com.sun.jna.Function.invoke(Function.java:408)
at com.sun.jna.Function.invoke(Function.java:354)
at com.sun.jna.Library$Handler.invoke(Library.java:244)
at org.jline.terminal.impl.jna.win.$Proxy23.ReadConsoleInput(Unknown Source)
at org.jline.terminal.impl.jna.win.JnaWinSysTerminal.readConsoleInput(JnaWinSysTerminal.java:130)
at org.jline.terminal.impl.jna.win.JnaWinSysTerminal.processConsoleInput(JnaWinSysTerminal.java:65)
at org.jline.terminal.impl.AbstractWindowsTerminal.pump(AbstractWindowsTerminal.java:400)

“Attach Listener” Id=5 RUNNABLE

“Signal Dispatcher” Id=4 RUNNABLE

“Finalizer” Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@74ab2dc3
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@74ab2dc3
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@42abdb00
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@42abdb00
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 net.minecraft.server.dedicated.ServerHangWatchdog.run(ServerHangWatchdog.java:62)
at java.lang.Thread.run(Unknown Source)

– System Details –
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_191, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 766444512 bytes (730 MB) / 1017118720 bytes (970 MB) up to 5726797824 bytes (5461 MB)
JVM Flags: 1 total; -Xmx6144M
IntCache: cache: 5, tcache: 0, allocated: 12, tallocated: 94
FML: MCP 9.42 Powered by Forge 14.23.5.2810 13 mods loaded, 13 mods active
States: ‘U’ = Unloaded ‘L’ = Loaded ‘C’ = Constructed ‘H’ = Pre-initialized ‘I’ = Initialized ‘J’ = Post-initialized ‘A’ = Available ‘D’ = Disabled ‘E’ = Errored

| State  | ID           | Version      | Source                               | Signature                                |
|:------ |:------------ |:------------ |:------------------------------------ |:---------------------------------------- |
| LCHIJA | minecraft    | 1.12.2       | minecraft.jar                        | None                                     |
| LCHIJA | mcp          | 9.42         | minecraft.jar                        | None                                     |
| LCHIJA | FML          | 8.0.99.99    | forge.jar                            | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | forge        | 14.23.5.2810 | forge.jar                            | e3c3d50c7c986df74c645c0ac54639741c90a557 |
| LCHIJA | extrautils2  | 1.0          | extrautils2-1.12-1.9.9.jar           | None                                     |
| LCHIJA | harvestcraft | 1.12.2zb     | HarvestCraft-Mod-1.12.2.jar          | None                                     |
| LCHIJA | ichunutil    | 7.2.0        | iChunUtil-1.12.2-7.2.0 (1).jar       | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
| LCHIJA | jei          | 4.15.0.269   | jei_1.12.2-4.15.0.269 (1).jar        | None                                     |
| LCHIJA | mocreatures  | 12.0.5       | Mo-Creatures-Mod-1.12.2.jar          | None                                     |
| LCHIJA | morph        | 7.1.3        | Morphing-Mod-1.12.2 (1).jar          | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |
| LCHIJA | cfm          | 6.2.0        | MrCrayfishs-Furniture-Mod-1.12.2.jar | None                                     |
| LCHIJA | placebo      | 1.5.1        | Placebo-1.12.2-1.5.1.jar             | None                                     |
| LCHIJA | sync         | 7.1.0        | Sync-Mod-1.12.2.jar                  | 4db5c2bd1b556f252a5b8b54b256d381b2a0a6b8 |

Loaded coremods (and transformers): 
Profiler Position: N/A (disabled)
Player Count: 1 / 20; [EntityPlayerMP['Devinchris03'/61, l='world', x=167.24, y=63.80, z=310.23]]
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

#4

Have your pre-generated your world?