SkyFactory-4 icon indicating copy to clipboard operation
SkyFactory-4 copied to clipboard

Server crashes when player loads chunks

Open xing216 opened this issue 2 years ago • 3 comments

Bug Description

We found that when certain chunks are loaded, the server crashes. We tried fixing the cyclic mod problem with adding the language startup parameters, but it still crashes. We do have chunkloaders, but they're not in the same chunk, the same island as the cyclic sprinkler, nor does the game crash when I'm around them.. This is all I can think of and all that I've been able to figure out.

Did this behavior use to work in the previous version?

We did not test this

Steps to Reproduce (for bugs)

  1. Player logs in to their island
  2. Player walks around loading chunks
  3. Server crashes

Logs

  • Client/Server Log: https://pastebin.com/NeAPzqhr
  • Crash Log: https://gist.github.com/xing216/33d47ef551a193bbc364c7a82c52660e

World Information

  • World Preset: Default
  • Prestige Enabled: Yes
  • Modpack Version world created in: 4.2.4
  • Additional Content Installed: No

Client Information

  • Modpack Version: 4.2.4
  • Java Version: 8
  • Launcher Used: CurseForge/Default Mincraft launcher
  • Memory Allocated: Using system memory settings
  • Server/LAN/Single Player: Server
  • Optifine Installed: no
  • Shaders Enabled: no

Server Information

  • Java Version: 8
  • Operating System: Ubuntu 20.04.3 LTS
  • Hoster/Hosting Solution: OVH-US/Advance-2 server
  • Sponge (Non-Vanilla Forge) Server: No, not positive

xing216 avatar Jun 26 '22 19:06 xing216

It looks like there's a huge number of items spilled in the chunks that trigger this crash. This overloads the server and causes it to lag so badly it crashes.

You can probably recover from this by setting max-tick-time=-1 in server.properties - note that this is negative 1 (so that lag doesn't trigger a crash), and then loading the offending chunks and running /kill @e[type=item] in the server console. This may take several minutes to execute. You then need to deal with whatever is causing the item spill, and set the max tick time back to 60000.

This is not really a bug; you can overload a vanilla server in this way too.

sam-kirby avatar Jun 27 '22 11:06 sam-kirby

I appreciate your reply; However, whenever someone loads in even one of those chunks, it freezes up and seemingly stops accepting commands from the server console. I can execute the command whenever just the chunkloaders are loading in chunks.

xing216 avatar Jun 27 '22 16:06 xing216

Update: We ended up just deleting the entire base and the server still lags out whenever going to those specific chunks. Only one person has gone there as of yet, but I will verify if it's for everyone or not.

xing216 avatar Jun 30 '22 12:06 xing216