Différent problème avec un serveur hébergé sur un VPS

anou

Aventurier
19 Octobre 2015
8
0
2
27
Bonjour,


J'ai 2 gros problèmes avec le petit serveur que j'héberge sur un VPS ( il est censé accueillir au grand maximum 16 joueurs en même temps )

Concernant les spécifications du VPS, les voici:
Processeur Intel Xeon L5520
4 vCore 2,4 GHz
64 Go SSD
4Go de Ram


Il n'y a aucun plugin sur le serveur, c'est un serveur Vanilla.


1er problème:

Parfois je peux voir sur la console des messages de ce style:

"[Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 4258ms behind, skipping 85 tick(s)"

La machine est bien réglée à la bonne heure alors je suppose que le serveur est surchargé mais je ne comprends pas pourquoi, car le processeur n'est pas utilisé a 100%, et l'utilisation de la RAM dépasse très rarement les 2Go sur les 4 disponibles.




Ensuite, autre problème, j'ai depuis Dimanche après midi eut carrément 3 crash du serveur avec comme rapport de crash ce qui suit:


Voici ci dessous un des 3 report de crash que nous avons pu avoir pour le moment.


---- Minecraft Crash Report ----

// Oh - I know what I did wrong!

Time: 10/19/15 7:36 AM
Description: Watching Server

java.lang.Error
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:272)
at java.io.DataInputStream.readFully(DataInputStream.java:195)
at java.io.DataInputStream.readLong(DataInputStream.java:416)
at atm.c(SourceFile:64)
at adm.I(SourceFile:2579)
at anj.a(SourceFile:89)
at ld.b(SourceFile:160)
at ld.a(SourceFile:204)
at le.a(SourceFile:763)
at net.minecraft.server.MinecraftServer.a(SourceFile:364)
at net.minecraft.server.MinecraftServer.A(SourceFile:553)
at net.minecraft.server.MinecraftServer.run(SourceFile:451)
at java.lang.Thread.run(Thread.java:745)


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

-- Head --
Stacktrace:
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:272)
at java.io.DataInputStream.readFully(DataInputStream.java:195)
at java.io.DataInputStream.readLong(DataInputStream.java:416)
at atm.c(SourceFile:64)
at adm.I(SourceFile:2579)
at anj.a(SourceFile:89)
at ld.b(SourceFile:160)
at ld.a(SourceFile:204)
at le.a(SourceFile:763)
at net.minecraft.server.MinecraftServer.a(SourceFile:364)
at net.minecraft.server.MinecraftServer.A(SourceFile:553)

-- Thread Dump --
Details:
Threads: "Netty Epoll Server IO #7" Id=25 RUNNABLE
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)


"Netty Epoll Server IO #6" Id=24 RUNNABLE
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)


"Netty Epoll Server IO #5" Id=23 RUNNABLE
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)


"Netty Epoll Server IO #4" Id=22 RUNNABLE
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)


"Netty Epoll Server IO #3" Id=21 RUNNABLE
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)


"File IO Thread" Id=29 RUNNABLE
at java.io.RandomAccessFile.write0(Native Method)
at java.io.RandomAccessFile.write(RandomAccessFile.java:500)
at java.io.RandomAccessFile.writeInt(RandomAccessFile.java:1055)
at anh.a(SourceFile:316)
at anh.a(SourceFile:255)
- locked anh@c326991
at anh$a.close(SourceFile:236)
at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:241)
at java.io.FilterOutputStream.close(FilterOutputStream.java:160)
...


"Netty Epoll Server IO #2" Id=20 RUNNABLE
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)


"Netty Epoll Server IO #1" Id=19 RUNNABLE
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)


"Server Watchdog" Id=27 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:446)
at kp.run(SourceFile:43)
at java.lang.Thread.run(Thread.java:745)


"Netty Epoll Server IO #0" Id=18 RUNNABLE
at io.netty.channel.epoll.Native.epollWait(Native Method)
at io.netty.channel.epoll.EpollEventLoop.epollWait(EpollEventLoop.java:194)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:219)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
at java.lang.Thread.run(Thread.java:745)


"Server console handler" Id=15 RUNNABLE (in native)
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:272)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
- locked java.io.BufferedInputStream@41b0b4d8
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177)
- locked java.io.InputStreamReader@158737a1
at java.io.InputStreamReader.read(InputStreamReader.java:184)
...


"DestroyJavaVM" Id=14 RUNNABLE


"Server thread" Id=12 RUNNABLE
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:272)
at java.io.DataInputStream.readFully(DataInputStream.java:195)
at java.io.DataInputStream.readLong(DataInputStream.java:416)
at atm.c(SourceFile:64)
at adm.I(SourceFile:2579)
at anj.a(SourceFile:89)
at ld.b(SourceFile:160)
...


"Server Infinisleeper" Id=11 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at ko$1.run(SourceFile:65)


"Snooper Timer" Id=10 TIMED_WAITING on java.util.TaskQueue@60553611
at java.lang.Object.wait(Native Method)
- waiting on java.util.TaskQueue@60553611
at java.util.TimerThread.mainLoop(Timer.java:552)
at java.util.TimerThread.run(Timer.java:505)


"Signal Dispatcher" Id=4 RUNNABLE


"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@7a50c77f
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@7a50c77f
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)


"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@4d59a195
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@4d59a195
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)



Stacktrace:
at kp.run(SourceFile:59)
at java.lang.Thread.run(Thread.java:745)

-- System Details --
Details:
Minecraft Version: 1.8.8
Operating System: Linux (amd64) version 2.6.32-042stab111.12
Java Version: 1.7.0_79, Oracle Corporation
Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 665014840 bytes (634 MB) / 1589116928 bytes (1515 MB) up to 3817865216 bytes (3641 MB)
JVM Flags: 2 total; -Xmx4096M -Xms1536M
IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95
Profiler Position: N/A (disabled)
Player Count: 0 / 20; []
Is Modded: Unknown (can't tell)

Type: Dedicated Server (map_server.txt)





Je vous remercie !
Et si vous avez besoin d'avoir une information ou quoi que ce soit, n'hésitez pas à me demander.
 

anou

Aventurier
19 Octobre 2015
8
0
2
27
Juste avant le crash:
[00:00:16] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3349ms behind, skipping 66 tick(s)
[00:07:38] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2397ms behind, skipping 47 tick(s)
[00:14:10] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2671ms behind, skipping 53 tick(s)
[00:15:12] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3935ms behind, skipping 78 tick(s)
[00:24:16] [Server thread/INFO]: kinox lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: Error while read(...): Connection reset by peer], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[00:24:16] [Server thread/INFO]: kinox left the game
[07:29:42] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3274ms behind, skipping 65 tick(s)
[07:29:48] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 3609ms behind, skipping 72 tick(s)
[07:30:10] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 2362ms behind, skipping 47 tick(s)
[07:33:28] [Server Watchdog/FATAL]: A single server tick took 71.66 seconds (should be max 0.05)
[07:33:36] [Server Watchdog/FATAL]: Considering it to be crashed, server will forcibly shutdown.
[07:36:14] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 329795ms behind, skipping 6595 tick(s)
[07:36:15] [Server Watchdog/ERROR]: This crash report has been saved to: /home/minecraft/serveur/./crash-reports/crash-2015-10-19_07.36.15-server.txt
[07:36:15] [Server Shutdown Thread/INFO]: Stopping server
 

Astequ

Simplifié
Ancien
25 Septembre 2014
1 749
1 175
267
23
Metz
myanimelist.net
[07:33:28] [Server Watchdog/FATAL]: A single server tick took 71.66 seconds (should be max 0.05)
Le message est assez explicite: Un tick a duré une minute et onze secondes au lieu de cinq centièmes de seconde (maximum toléré).
Ton serveur a pas les couilles specs suffisantes pour tenir, généralement quand t'as ce genre d'erreurs c'est que c'est assez injouable.
 
  • J'aime
Reactions: Niz

123456789qwerty

Architecte en herbe
13 Juillet 2015
622
16
79
23
Comment ouvre tu le fichier jar du serveur ?
Sous quel système d'exploitation est le pc ?
Essaie d'ouvrir le serveur avec cette commande : java -Xms512M Xmx3G -jar [chemin du jar du serveur]
 

anou

Aventurier
19 Octobre 2015
8
0
2
27
Bonjour,

C'est sous linux debian 8 64bits.
AU niveau de l'ouverture du fichier jar, cela se fait automatiquement, j'ai suivi le tutoriel suivant pour installer mincraft sur la machine: https://www.nodilex.com/fr/communit...nilla-avec-sauvegarde-automatique-sur-debian/

Et j'utilise la commande suivante: "java -Xmx3072M -Xms1024M -jar serveur.jar nogui"
J'ai aussi essayé avec "java -Xmx4096M -Xms1536M -jar serveur.jar nogui"
Mais cela ne change rien.



L'utilisation du processeur: http://hpics.li/062cd09



@Astequ Oui j'aurais dis exactement la même chose, sauf que l'usage de la RAM n'est jamais poussé à son maximum ni l'utilisation du processeur.
J'ai cependant pu trouver sur internet des gens ayant le même problème, cela proviendrait de minecraft 1.8

https://bugs.mojang.com/browse/MC-63590


J'ai cependant déjà mis en paramètre de serveur l'option de tick time à -1 mais rien n'y fais, le problème est toujours présent.


Merci.