A
Admincraftβ€’2w ago
Alvex

server doesn't crash, just goes offline

I have no idea why this is happening, I'm just generating chunks with the chunky mod Modpack ATM10
32 Replies
Schroedes
Schroedesβ€’2w ago
what do you mean by "going offline"
Alvex
AlvexOPβ€’2w ago
i have no crash report, the console just stops outputing info and the server status goes offline I'm self-hosting on a debian with casaos running crafty
Schroedes
Schroedesβ€’2w ago
anything saved in the logs?
Alvex
AlvexOPβ€’2w ago
when it happens again I'll try to find a log or something, but it hasn't reported anything
Schroedes
Schroedesβ€’2w ago
might not wanna leak your ip but yeah it looks fine right now
Alvex
AlvexOPβ€’2w ago
about logs or crahses oops mb
Schroedes
Schroedesβ€’2w ago
when it happens again try and send a screenshot or a log or something, is there anything in the console when the server freezes? What kind of specs does the server have
Alvex
AlvexOPβ€’2w ago
nope ryzen pro 4650g / 16gbDDR4, 12gb dedicated to the server will do
Schroedes
Schroedesβ€’2w ago
how many chunks are you trying to load? You might not have enough storage to load them and save them all
Alvex
AlvexOPβ€’2w ago
storage-wise it is okay i think
No description
Alvex
AlvexOPβ€’2w ago
a radius of 5k blocks
Schroedes
Schroedesβ€’2w ago
interesting try running spark and send the output after 5 minutes /spark profiler start --timeout 300
Alvex
AlvexOPβ€’2w ago
No description
Alvex
AlvexOPβ€’2w ago
just happened, didn't even give me time to finish the spark profiler just this
Alvex
AlvexOPβ€’2w ago
no crash report
No description
Alvex
AlvexOPβ€’2w ago
there are logs, but it has already happened like 7 times today and a few yesterday
Schroedes
Schroedesβ€’2w ago
your tps drop just before the server freezes start it up, run the spark command, and then try loading the chunks again
Alvex
AlvexOPβ€’2w ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Alvex
AlvexOPβ€’2w ago
will do another one, just in case
Alvex
AlvexOPβ€’2w ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Upioti
Upiotiβ€’2w ago
This tells me it is one of those mini pcs? You sure it doesn't heat up and shut down?
Snow Kit
Snow Kitβ€’2w ago
@Alvex is the machine running out of memory (and swap), if so, Minecraft will get killed by the Linux oom killer And will behave exactly like you said
Goldy
Goldyβ€’2w ago
oom
Alvex
AlvexOPβ€’2w ago
i'm not at home, if it would shutdown i wouldn't be able to reconnect back i'll test this out then
Snow Kit
Snow Kitβ€’2w ago
I doubt this is the problem. You can easily check the machine's uptime with the uptime command to confirm though.
Alvex
AlvexOPβ€’2w ago
it was the ram issue as in, the jvm args the xms and xmx were both 12gb which was bottlenecking (i guess) and shutting the server down now it has been running for a long while, generated a whole dimension and it's okay thanks! okay, the issue might not have been fixed actually, i woke up and the server was offline again
Alvex
AlvexOPβ€’2w ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Alvex
AlvexOPβ€’2w ago
in case it might be needed?
π’Ÿπ‘œπ“‚π’Ύπ“ƒπ’Ύπ’Έ
Yeah bro your xmx is 12gbs while your process memory is 8 It’s definitely an OOM Set xmx and xms to the same value and increase the amount of ram your server has available (cause it’s not actually 12)
Alvex
AlvexOPβ€’2w ago
okok i can't up it to 16, 14gb would be okay?
Alvex
AlvexOPβ€’2w ago
thanks! will try it out and come back here even doing it it just goes offline

Did you find this page helpful?