#Server crashing after power went out

1 messages · Page 1 of 1 (latest)

glad isle
#

My parents shut a breaker off to fix some wiring and I had my brother relaunch my server, and my friends texted me saying it was lagging rly bad and then it eventually crashed. It was up for a few hrs before the first crash, now it crashes as soon as I join

formal maple
#

@glad isle

glad isle
#

Have you checked the forum and wiki to ensure your issue hasn't been resolved? (Y/N): Y

What launcher are you using? (Curseforge, ATLauncher, Prism Launcher...): Curseforge, but the log is from my server running the server pack

Which modpack are you using? (BCG+, BCG+NC, BCGHG): BCG+ with some new mods

Have you modified the pack in any way? (i.e. Adding or removing mods): Added mods

What version of the modpack are you using? (1.1.16HF, 1.1.15, 1.1.14...): 2.7.1

What version of the Java runtime are you using? (Java 17, 18, 21...): 21

Have you allocated 6GB of RAM or higher? (Y/N): Y

If playing with others, what method is being used to host/join the server? (Official server support can be found here: https://discord.gg/playcdu): Dedicated Server

If playing with others, have you confirmed that both the client and server are running the exact same version of the pack (including any HF releases)? (Y/N): Y

Describe the issue: My parents shut a breaker off to fix some wiring and I had my brother relaunch my server, and my friends texted me saying it was lagging rly bad and then it eventually crashed. It was up for a few hrs before the first crash, now it crashes as soon as I join

Steps you've taken in effort to resolve this issue: Restarting. I have not yet removed mods because that would make a lot of builds in the world dissapear

formal maple
#

list added mods

#

and ram allocated

#

also it's java 17 for 1.20.1

glad isle
#

8gb of ram, I gotta look through my mods rq, and ill switch to 17 but 21 WAS working fine up until now

#

All added mods: Create Diesel Generators Restitched, Create Clockwork, Eureka, Create Connected, Create Trackwork fabric. a forge to fabric converter that i forgot to delete, Valk Skies, Create Big Cannons, and LevelZ

uneven jewel
#

backup the world, run the server with a fresh world, see if it timesout

glad isle
#

thats what im getting ready to do

#

is there a built in backup or should i just copy the world file

uneven jewel
#

copy paste

#

mc does not backup by itself

glad isle
#

is there a backup mod for fabric i can add because my old ATM server auto backed up and that was nice

uneven jewel
#

no clue

#

usually need to use a delta backup command. these mc saves get large very fast

glad isle
#

server runs fine until I waystone to my base

#

also I removed eureka, Valk Skies, trackwork, and create connected

uneven jewel
#

corrupt chunk or cobblemonplayerdata

glad isle
#

im using the non cobblemon version

uneven jewel
#

then corrupted chunk

glad isle
#

if its a corrupt chunk is it just gg

uneven jewel
#

you could check it

glad isle
#

how would I do that

uneven jewel
#

run some profilers to see if it can determine the cause

#

spark is a good start

glad isle
#

how do i do that. I've been using /spark tps but thats about all i know of spark

uneven jewel
#

do /spark health

glad isle
#

the supposedly corrupted chunk or area was at a base that no one would have been out when things started going bad, and was just running a wheat farm off a windmill

formal maple
#

contraptions can corrupt if improperly chunk loaded when a server is stopped

glad isle
#

that would line up with contraptions being chunk loaded when the power went out

formal maple
#

there was a fix that disables all contraptions currently running i think

glad isle
#

like a command that stops them

#

also how detrimental would that be to everyone elses machiens

formal maple
#

it just sets them to stop moving iirc

glad isle
#

ah ok ill see if i can figure out the command

#

do you know if its added by create

glad isle
#

ok if i do this imma do a backup since it seems to delete several machiens

formal maple
#

safer one is /kill @e[type=create,nbt=<nbt of contraption>,distance=10] I think

glad isle
#

How would I get the NBT of the contraption

formal maple
#
glad isle
#

hmmm. Im gonna try doing all on a backup first and if not then try this cause i dont know the coords of the machine

formal maple
#

yeah

glad isle
#

I ran /kill @e[type=create:...] and did create:contraption, create:stationary_contraption, and Gantry contraption which did delete all windmills but no luck

#

the server crashes right as I go near my mine/windmill

uneven jewel
#

crash log?

glad isle
#

the mine had an automated iron washing farm

#

yeah 1 sec

uneven jewel
#

oh yeah dont forceload iron washing

#

thatll kill tps

glad isle
#

i mean tps seemed to be fine

#

i have an i9 and 32gb of ram on the server alone

uneven jewel
#

java doesnt care what you have lol

glad isle
#

damn

uneven jewel
#

tried using java 17?

glad isle
#

boutta do that. idk what could have happened within the last 12 hrs that would make that the issue

uneven jewel
#

well the crash log says entity overload and drop items

#

either corrupted the chunk or the iron washer got out of hand

glad isle
#

the way its set up in my fams is there should never be overflow

#

my other farm is a netherrack farm thats loaded

uneven jewel
#

just telling you what the log says

glad isle
#

nah ik im just tryna go through it to myself

uneven jewel
#

minecraft:item:42777

#

current entity count at the crash

glad isle
#

i assume dropped items despawn on server restart

#

oh

#

wow

uneven jewel
#

which will def kill servers

#

the server just loads the chunk data

#

there's no 'cleanup'

glad isle
#

can I despawn all items

uneven jewel
#

yeah

#

/kill @e[type=!player]

#

you can add animals/mobs to the != part

#

if you have animals you want to keep

glad isle
#

will this also kill create contraptions and other entities or does the lack of a mod specification keep it vanilla

uneven jewel
#

most likely

glad isle
#

is there a type=item?

#

im gonna check

#

wow

#

omg

uneven jewel
#

yeah

glad isle
#

one of the belts of my iron farm cobble collection was reversed

#

welp

#

that was an embarrasingly easy fix

formal maple
#

don't do that one

#

for ground items /kill @e[type=item]

#

I made a thing you can set up to void excess items using toms lemme see If I can find it

#

forgot I need to update and reinstall still...

#

okay so based on this screenie from main storage connector block go with a filtered cable connector set to high priority for the item then in to a connector block touching at minimum 4 maxed out compact barrels/chests then have a trash can connected with another filtered cable connector but this time set to low filtered to the item so you only get rid of when the storage is full