Résolu Gros lag au spawn puis crash du serveur

Oromis

Command-blocker slimesque
Staff
Modérateur
Support
11 Février 2014
3 345
2
1 053
297
24
Bretagne
Hey les gens !
Je vous contacte en ce jour car le serveur sur lequel on travail avec quelques amis à crash...
C'est un serveur où l'on fait pas mal de command block. Au départ, le chunk du spawn laggait de temps à autre (passage de 400 à 0 fps pour ma part), l'une des personnes à checké si la map était corrompu, rien et ce matin, crash du serveur, le problème viendrait de la map :/

Voici les logs :
Code:
[09:31:20] [Server thread/INFO]: Starting minecraft server version 1.9.4
[09:31:20] [Server console handler/ERROR]: Exception handling console input
java.io.IOException: Descripteur non valide
    at java.io.FileInputStream.readBytes(Native Method) ~[?:1.8.0_91]
    at java.io.FileInputStream.read(Unknown Source) ~[?:1.8.0_91]
    at java.io.BufferedInputStream.read1(Unknown Source) ~[?:1.8.0_91]
    at java.io.BufferedInputStream.read(Unknown Source) ~[?:1.8.0_91]
    at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) ~[?:1.8.0_91]
    at sun.nio.cs.StreamDecoder.implRead(Unknown Source) ~[?:1.8.0_91]
    at sun.nio.cs.StreamDecoder.read(Unknown Source) ~[?:1.8.0_91]
    at java.io.InputStreamReader.read(Unknown Source) ~[?:1.8.0_91]
    at java.io.BufferedReader.fill(Unknown Source) ~[?:1.8.0_91]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_91]
    at java.io.BufferedReader.readLine(Unknown Source) ~[?:1.8.0_91]
    at lb$2.run(SourceFile:94) [server%201.9.4.jar:?]
[09:31:20] [Server thread/INFO]: Loading properties
[09:31:20] [Server thread/INFO]: Default game type: SURVIVAL
[09:31:20] [Server thread/INFO]: Generating keypair
[09:31:20] [Server thread/INFO]: Starting Minecraft server on *:25565
[09:31:20] [Server thread/INFO]: Using default channel type
[09:31:20] [Server thread/INFO]: Preparing level "Risk"
[09:31:20] [Server thread/INFO]: Preparing start region for level 0
[09:31:22] [Server thread/INFO]: Preparing spawn area: 52%
[09:31:22] [Server thread/INFO]: Done (2,307s)! For help, type "help" or "?"
[09:31:33] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 10110ms behind, skipping 202 tick(s)
[09:32:33] [Server Watchdog/FATAL]: A single server tick took 60,00 seconds (should be max 0,05)
[09:32:33] [Server Watchdog/FATAL]: Considering it to be crashed, server will forcibly shutdown.
[09:32:33] [Server Watchdog/ERROR]: This crash report has been saved to: C:\Users\Ambroise\Desktop\Serveur\.\crash-reports\crash-2016-06-13_09.32.33-server.txt
[09:32:33] [Server Shutdown Thread/INFO]: Stopping server
[09:32:33] [Server Shutdown Thread/INFO]: Saving players
[09:32:33] [Server Shutdown Thread/INFO]: Saving worlds

Et voici le crash report :
Code:
---- Minecraft Crash Report ----
// Don't be sad. I'll do better next time, I promise!

Time: 13/06/16 08:37
Description: Watching Server

java.lang.Error
at asf.a(SourceFile:728)
at aht.a(SourceFile:2269)
at aht.b(SourceFile:2257)
at aht.a(SourceFile:1008)
at rr.d(SourceFile:570)
at yc.m(SourceFile:112)
at aht.a(SourceFile:1517)
at lq.a(SourceFile:717)
at aht.g(SourceFile:1495)
at aht.k(SourceFile:1385)
at lq.k(SourceFile:550)
at net.minecraft.server.MinecraftServer.D(SourceFile:626)
at lb.D(SourceFile:340)
at net.minecraft.server.MinecraftServer.C(SourceFile:554)
at net.minecraft.server.MinecraftServer.run(SourceFile:458)
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 asf.a(SourceFile:728)
at aht.a(SourceFile:2269)
at aht.b(SourceFile:2257)
at aht.a(SourceFile:1008)
at rr.d(SourceFile:570)
at yc.m(SourceFile:112)
at aht.a(SourceFile:1517)
at lq.a(SourceFile:717)
at aht.g(SourceFile:1495)
at aht.k(SourceFile:1385)
at lq.k(SourceFile:550)
at net.minecraft.server.MinecraftServer.D(SourceFile:626)
at lb.D(SourceFile:340)
at net.minecraft.server.MinecraftServer.C(SourceFile:554)

-- Thread Dump --
Details:
Threads: "Netty Server IO #7" Id=35 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@6552f5f2
- locked java.util.Collections$UnmodifiableSet@6b951728
- locked sun.nio.ch.WindowsSelectorImpl@6faa9e82
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"Netty Server IO #6" Id=34 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@2aa81d13
- locked java.util.Collections$UnmodifiableSet@582780d1
- locked sun.nio.ch.WindowsSelectorImpl@1bc8f0aa
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"Netty Server IO #5" Id=33 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@20ad33df
- locked java.util.Collections$UnmodifiableSet@4a87e25c
- locked sun.nio.ch.WindowsSelectorImpl@2ec2d2d5
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"Netty Server IO #4" Id=32 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@72532a07
- locked java.util.Collections$UnmodifiableSet@3ba9dc59
- locked sun.nio.ch.WindowsSelectorImpl@4ec95c72
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"Netty Server IO #3" Id=31 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@76257b04
- locked java.util.Collections$UnmodifiableSet@1dcd74d5
- locked sun.nio.ch.WindowsSelectorImpl@68732821
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"File IO Thread" Id=43 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at bbb.c(SourceFile:51)
at bbb.run(SourceFile:30)
at java.lang.Thread.run(Unknown Source)


"Netty Server IO #2" Id=30 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@6c5dd391
- locked java.util.Collections$UnmodifiableSet@317d6845
- locked sun.nio.ch.WindowsSelectorImpl@4760d963
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"Netty Server IO #1" Id=29 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@3623c38e
- locked java.util.Collections$UnmodifiableSet@34e05f80
- locked sun.nio.ch.WindowsSelectorImpl@6e052619
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"Server Watchdog" Id=39 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(Unknown Source)
at lc.run(SourceFile:43)
at java.lang.Thread.run(Unknown Source)


"Netty Server IO #0" Id=28 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@2fef517b
- locked java.util.Collections$UnmodifiableSet@7f8c8bb
- locked sun.nio.ch.WindowsSelectorImpl@31d29b9b
at sun.nio.ch.SelectorImpl.select(Unknown Source)
at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:622)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:310)
...


"D3D Screen Updater" Id=25 TIMED_WAITING on java.lang.Object@76205656
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@76205656
at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


"DestroyJavaVM" Id=24 RUNNABLE


"Server thread" Id=22 RUNNABLE
at asf.a(SourceFile:728)
at aht.a(SourceFile:2269)
at aht.b(SourceFile:2257)
at aht.a(SourceFile:1008)
at rr.d(SourceFile:570)
at yc.m(SourceFile:112)
at aht.a(SourceFile:1517)
at lq.a(SourceFile:717)
...


"TimerQueue" Id=20 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@626d0cb9
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@626d0cb9
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@2391b560


"Thread-4" Id=19 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@47465d2c
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@47465d2c
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 le$4.run(SourceFile:129)
at java.lang.Thread.run(Unknown Source)


"AWT-EventQueue-0" Id=18 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@33a03174
at sun.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@33a03174
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=16 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=15 WAITING on java.lang.Object@1db4a8d5
at java.lang.Object.wait(Native Method)
- waiting on java.lang.Object@1db4a8d5
at java.lang.Object.wait(Unknown Source)
at sun.awt.AWTAutoShutdown.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


"Java2D Disposer" Id=14 WAITING on java.lang.ref.ReferenceQueue$Lock@1736771e
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@1736771e
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=13 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at lb$1.run(SourceFile:78)


"Snooper Timer" Id=12 TIMED_WAITING on java.util.TaskQueue@626ce7e9
at java.lang.Object.wait(Native Method)
- waiting on java.util.TaskQueue@626ce7e9
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)


"Attach Listener" Id=5 RUNNABLE


"Signal Dispatcher" Id=4 RUNNABLE


"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@50f54141
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@50f54141
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@683fb98a
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@683fb98a
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 lc.run(SourceFile:59)
at java.lang.Thread.run(Unknown Source)

-- System Details --
Details:
Minecraft Version: 1.9.4
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_91, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 776193000 bytes (740 MB) / 912261120 bytes (870 MB) up to 1897922560 bytes (1810 MB)
JVM Flags: 0 total;
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
Profiler Position: N/A (disabled)
Player Count: 1 / 20; [ls['Louis__'/163778, l='Risk', x=29,04, y=75,44, z=-801,55]]
Is Modded: Unknown (can't tell)
Type: Dedicated Server (map_server.txt)

Bref, si il le faut, nous pouvons fournir la map mais seulement en privé ^^"
Merci d'avance de votre aide !!!
 
Dernière édition:

Astequ

Simplifié
Ancien
25 Septembre 2014
1 749
1 175
267
23
Metz
myanimelist.net
Je précise que le serveur tenait très bien la charge, le CPU n'excédait jamais les 65% d'utilisation et la RAM restait en-dessous de 5.5 Go (en comptant les autres programmes lancés sur le PC). Le problème semble donc venir de la map, des lags étant aussi survenus lors d'un test en solo.
nous pouvons fournir la map mais seulement en privé ^^"
On a des trucs à cacher ( ͡° ͜ʖ ͡°)
 
Dernière édition:
  • J'aime
Reactions: ᶠCʳhᶦaˢrᵏa

Oromis

Command-blocker slimesque
Staff
Modérateur
Support
11 Février 2014
3 345
2
1 053
297
24
Bretagne
EDIT : J'viens de passer la map dans Minecraft Region Fixer, j'ai ça :
yQJf9CwFm0gj.png

C'est chelou que ce soit un problème d'entités quand même. o_o
Deux ArmorStands en continue, 8 dans le pire des cas et 6 joueurs au maximum ^^"
 

Oromis

Command-blocker slimesque
Staff
Modérateur
Support
11 Février 2014
3 345
2
1 053
297
24
Bretagne
Oh... XD, aucune idée d'où ils viennent étant donné que Barceus à fait un kill @e ^^"