Serwer vps 24/7 pomoc potrzebna

Pytania i problemy
ZWIERZU
ZWIERZU

Mianowicie chodzi o serwer vps zrobiłem wszystko co kilka dni temu pewien kolega pomógł odpowiadając i pomagając mi uruchomić serwer mc na modach, teraz mam problem taki ponieważ ten kolega podał mi jak zrobić serwer 24/7 ze trzeba zrobić opcje uruchamiania i podal komendy pod to ale nie dziala gdy nie ma nikogo na serwerze przez mniej więcej 4-5h to się wyłącza serwer jak to naprawić moze ja coś źle zrobiłem.

igoyek
igoyek

Zapodaj pliki konfiguracyjne, logi z konsoli, coś co może pomóc.

ZWIERZU
ZWIERZU

Mój ostatni log wygląda tak

[00:02:09] [Netty Epoll Server IO #3/INFO] [FML]: Client protocol version 2
[00:02:09] [Netty Epoll Server IO #3/INFO] [FML]: Client attempting to join with 96 mods : ctgui@1.0.0,dungeonsmod@1.12.2-1.0.6,mowziesmobs@1.5.3,dungeontactics@DT-0.16.9,telepads@$version,hmm@16.2.1,creativecoredummy@1.0.0,customskinloader@14.13-SNAPSHOT-214,jei@4.16.1.302,chunkpregenerator@2.4.1,cofhcore@4.6.6,nei@2.4.3,movingworld@1.12-6.353,betternether@0.1.8.6,ivtoolkit@1.3.3-1.12,thermalfoundation@2.6.3,ropebridge@2.0.5,craftstudioapi@1.0.0,subcommonlib@1.2.0.1,mcp@9.42,treecapitator@1.43.0,clumps@3.1.2,journeymap@1.12.2-5.7.1,placebo@1.6.0,travelersbackpack@1.0.35,increasemobs@1.1.0,forgelin@1.8.4,bookshelf@2.3.557,mutantbeasts@1.12.2-0.7.2,inventorytweaks@1.63+release.109.220f184,llibrary@1.7.19,cofhworld@1.4.0,grimoireofgaia@1.6.9.3,waila@1.8.26,galacticraftplanets@4.0.2.280,micdoodlecore@,crafttweaker@4.1.20,forge@14.23.5.2855,ruins@17.1,castle_dungeons@1.2,hexxitgear@2.8.0,eplus@5.0.176,orelib@3.6.0.1,infernalmobs@1.7.6,ironchest@1.12.2-7.0.67.844,minecraft@1.12.2,mcwbridges@1.0.4,autorefresh@1.1.0,crafttweakerjei@2.0.3,randomenchantments@@VERSION@,openterraingenerator@v8.2,thermaldynamics@2.5.6,blur@1.0.4-14,bspkrscore@7.6.0.1,redstoneflux@2.1.1,cmdcam@1.1.7,creativecore@1.10.0,battletowers@1.6.5,biomebundle@5.1,customspawner@3.11.4,orespawn@1.0.0,cat@0.1,roguelike@1.8.0,com.elytradev.movingworld.common.asm.coremod@,bloodmoon@1.5.3,mocreatures@12.0.5,betterunderground@1.1.2,ic2@2.8.221-ex112,gravestone@1.10.2,corerm@1.3.1,levelhearts@2.2.0,lesslag@1.0,otgcore@1.12.2 - v8.2,autoreglib@1.3-32,libraryex@1.0.12,galacticraftcore@4.0.2.280,midnight@0.3.5,inventoryhud@3.1.8,FML@8.0.99.99,davincisvessels@@DVESSELSVER@,erebus@1.0.31,jurassicraft@2.1.23 ,itemphysic@1.4.0,cloudboots@1.4.1,goblin_mod_reforged@1.0.0,xlfoodmod@1.12.2-1.9.2,cqrepoured@2.2.3B,codechickenlib@3.2.3.358,dynamictrees@1.12.2-0.9.21,servertabinfo@1.2.6,soundfilters@0.10_for_1.12,cyclopstek@1.0.34,netherex@2.0.15,torohealthmod@1.12.2-11,betterfoliage@2.2.0,mobends@0.24
[00:02:09] [Netty Epoll Server IO #3/INFO] [journeymap]: CLIENT
[00:02:09] [Netty Epoll Server IO #3/INFO] [CodeChickenLib-ConfigSync]: Skipping config sync, No mods have registered a syncable config.
[00:02:10] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[00:02:10] [Server thread/INFO] [net.minecraft.server.management.PlayerList]: GeoREX[/83.29.127.54:63161] logged in with entity id 727598 at (1452.319063597081, 16.0, 3771.109766902666)
[00:02:10] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: GeoREX joined the game
[00:02:10] [Server thread/INFO] [cqrepoured]: Loading player reputation...
[00:02:10] [Server thread/INFO] [Waila]: Player GCEntityPlayerMP['GeoREX'/727598, l='world', x=1452.32, y=16.00, z=3771.11] connected. Sending ping
[00:03:46] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: [: Object successfully summoned]
[00:03:46] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: [: Killed Annabelle]
[00:04:03] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: [: Object successfully summoned]
[00:04:37] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: [: Object successfully summoned]
[00:04:37] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: [: Killed Chucky]
[00:05:07] [Server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: GeoREX lost connection: Disconnected
[00:05:07] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: GeoREX left the game
[00:05:07] [Server thread/INFO] [cqrepoured]: Saving player reputation...
[04:06:28] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 2040ms behind, skipping 40 tick(s)
[04:07:13] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 2118ms behind, skipping 42 tick(s)
[04:07:58] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 2026ms behind, skipping 40 tick(s)
[04:34:13] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 2033ms behind, skipping 40 tick(s)
[04:40:58] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 2027ms behind, skipping 40 tick(s)
[04:47:43] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 2002ms behind, skipping 40 tick(s)

i co chwilę jest ta sama wiadomość co u góry a potem jest to:

[10:55:46] [Netty Epoll Server IO #0/INFO] [FML]: Client protocol version 2
[10:55:46] [Netty Epoll Server IO #0/INFO] [FML]: Client attempting to join with 96 mods : ctgui@1.0.0,dungeonsmod@1.12.2-1.0.6,mowziesmobs@1.5.3,dungeontactics@DT-0.16.9,telepads@$version,hmm@16.2.1,creativecoredummy@1.0.0,customskinloader@14.13-SNAPSHOT-214,jei@4.16.1.302,chunkpregenerator@2.4.1,cofhcore@4.6.6,nei@2.4.3,movingworld@1.12-6.353,betternether@0.1.8.6,ivtoolkit@1.3.3-1.12,thermalfoundation@2.6.3,ropebridge@2.0.5,craftstudioapi@1.0.0,subcommonlib@1.2.0.1,mcp@9.42,treecapitator@1.43.0,clumps@3.1.2,journeymap@1.12.2-5.7.1,placebo@1.6.0,travelersbackpack@1.0.35,increasemobs@1.1.0,forgelin@1.8.4,bookshelf@2.3.557,mutantbeasts@1.12.2-0.7.2,inventorytweaks@1.63+release.109.220f184,llibrary@1.7.19,cofhworld@1.4.0,grimoireofgaia@1.6.9.3,waila@1.8.26,galacticraftplanets@4.0.2.280,micdoodlecore@,crafttweaker@4.1.20,forge@14.23.5.2854,ruins@17.1,castle_dungeons@1.2,hexxitgear@2.8.0,eplus@5.0.176,orelib@3.6.0.1,infernalmobs@1.7.6,ironchest@1.12.2-7.0.67.844,minecraft@1.12.2,mcwbridges@1.0.4,autorefresh@1.1.0,crafttweakerjei@2.0.3,randomenchantments@@VERSION@,openterraingenerator@v8.2,thermaldynamics@2.5.6,blur@1.0.4-14,bspkrscore@7.6.0.1,redstoneflux@2.1.1,cmdcam@1.1.7,creativecore@1.10.0,battletowers@1.6.5,biomebundle@5.1,customspawner@3.11.4,orespawn@1.0.0,cat@0.1,roguelike@1.8.0,com.elytradev.movingworld.common.asm.coremod@,bloodmoon@1.5.3,mocreatures@12.0.5,betterunderground@1.1.2,ic2@2.8.221-ex112,gravestone@1.10.2,corerm@1.3.1,levelhearts@2.2.0,lesslag@1.0,otgcore@1.12.2 - v8.2,autoreglib@1.3-32,libraryex@1.0.12,galacticraftcore@4.0.2.280,midnight@0.3.5,inventoryhud@3.1.8,FML@8.0.99.99,davincisvessels@@DVESSELSVER@,erebus@1.0.31,jurassicraft@2.1.23 ,itemphysic@1.4.0,cloudboots@1.4.1,goblin_mod_reforged@1.0.0,xlfoodmod@1.12.2-1.9.2,cqrepoured@2.2.3B,codechickenlib@3.2.3.358,dynamictrees@1.12.2-0.9.21,servertabinfo@1.2.6,soundfilters@0.10_for_1.12,cyclopstek@1.0.34,netherex@2.0.15,torohealthmod@1.12.2-11,betterfoliage@2.2.0,mobends@0.24
[10:55:46] [Netty Epoll Server IO #0/INFO] [journeymap]: CLIENT
[10:55:46] [Netty Epoll Server IO #0/INFO] [CodeChickenLib-ConfigSync]: Skipping config sync, No mods have registered a syncable config.
[10:55:47] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 19496ms behind, skipping 389 tick(s)
[10:55:48] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[10:55:48] [Server thread/INFO] [net.minecraft.server.management.PlayerList]: LISEK_ZWIERZ[/83.29.119.253:50107] logged in with entity id 771622 at (1392.4537172126509, 89.21725064258672, 3791.8823635719355)
[10:55:48] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: LISEK_ZWIERZ joined the game
[10:55:49] [Server thread/INFO] [cqrepoured]: Loading player reputation...
[10:55:49] [Server thread/INFO] [Waila]: Player GCEntityPlayerMP['LISEK_ZWIERZ'/771622, l='world', x=1392.45, y=89.22, z=3791.88] connected. Sending ping
[10:56:26] [Server thread/WARN] [net.minecraft.network.NetHandlerPlayServer]: LISEK_ZWIERZ moved too quickly! -8.03396721607919,-1.446378855676386,5.9375268043022515
[10:56:39] [Server thread/WARN] [net.minecraft.network.NetHandlerPlayServer]: LISEK_ZWIERZ moved too quickly! -6.819725871346918,-0.0031304172336206193,-7.399135899200246
[10:56:47] [Server Watchdog/FATAL] [net.minecraft.server.dedicated.ServerHangWatchdog]: A single server tick took 60.00 seconds (should be max 0.05)
[10:56:47] [Server Watchdog/FATAL] [net.minecraft.server.dedicated.ServerHangWatchdog]: Considering it to be crashed, server will forcibly shutdown.
[10:56:48] [Server Watchdog/ERROR] [net.minecraft.server.dedicated.ServerHangWatchdog]: This crash report has been saved to: /home/mc/./crash-reports/crash-2021-08-11_10.56.48-server.txt
[10:56:48] [Server Shutdown Thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server
Blox61
Blox61

Witaj! Ile wykupiłeś RAM'u do serwera VPS? Ile przydzieliłeś na serwer? Posiadasz skrypt uruchamiający serwer? Jeśli tak, to pokaż jego zawartość.

ZWIERZU
ZWIERZU

RAM mam wykupiony 30GB a przydzieliłem 28 GB. Skrypt uruchamiający posiadam i wygląda tak

#!/bin/sh screen -d -m -S “forge” java -Xms28G -Xmx28G -jar forge-1.12.2-14.23.5.2855.jar

Kamil02167
Kamil02167

Twój serwer strasznie laguje i się crashuje (nie wyłącza - tak, to różnica). W ogóle 28 GB przydzielone na serwer to trochę dużo jak na 1 instancje (nawet modów). Spróbuj z 16 GB.

ZWIERZU
ZWIERZU

Ale skoro wykupiłem 30 GB ram to czemu nie wykorzystać tego?

Kamil02167
Kamil02167

Faktem jest to że mało ram nie jest dobre dla serwera, lecz przesadzanie z taką ilością też nie pomaga, a może nawet szkodzić.

ZWIERZU
ZWIERZU

Dobrze zmieniłem ramy ale dalej nie działa serwer nic się nie zmieniło działa dopóki ktoś nie wchodzi jak ktoś próbuje wejśc to wywala serwa. Co mam w takim razie zrobić?

Kamil02167
Kamil02167

Używasz jakiejś paczki modów, czy sam wgrywałeś?

ZWIERZU
ZWIERZU

Sam wgrywałem już drugi serwer postawiłem robiąc swoją paczkę modów tylko wcześniej na innej stronie było

ZWIERZU
ZWIERZU

Dobra udało się wystarczyło wywalić mod na generator świata i działa dzięki wszystkim za pomoc :slight_smile:

Helios1993
Helios1993

Ponieważ im więcej ramu przypiszesz, tym więcej jest go używane w jednym momencie, co przekłada się na większy i zasobożerniejszy gc. Powyżej 12gb zaczynasz tracić na wydajności, a powyżej 16gb to już całkowita głupota. Najszybszy procesor nie będzie dawał sobie rady zanim serwer Minecraft (bez wycieków pamięci) zje ci 16gb ramu.

ZWIERZU
ZWIERZU

To mam w takim wypadku pytanie. To po co kupować maszyny z większą ilością ram skoro i tak tego nie wykorzystasz?

aggankx
aggankx

Zakładasz że ludzie kupują maszyny tylko do minecrafta?

Zresztą jeżeli jest lepszy procek to najczęściej jest też więcej RAMu. Po co komu Ryzen 5 5600X z 2 GB RAMu?

ZWIERZU
ZWIERZU

Pisząc to nie przemyślałem tego i tu mnie masz ;)

Kamil02167
Kamil02167

Dlatego że ludzie stawiają tam sieci, a nie pojedyńcze serwery :grinning_face_with_smiling_eyes:

system
system

Ten temat został automatycznie zamknięty 32 dni po ostatnim wpisie. Tworzenie nowych odpowiedzi nie jest już możliwe.