someaddons / performant_issues

Issue repo for performant
3 stars 0 forks source link

[Bug]: 1.18.2 Server hangs on crash #245

Closed mja00 closed 2 years ago

mja00 commented 2 years ago

Describe the bug you're experiencing

Whenever my server crashes (for various reasons, mostly my players doing dumb things), the server never fully exits properly and always hangs on a Performant based error. Doesn't seem like a specific crash causes Performant to hang the server, just any crash. I've had it happen with ticking world and a player creating a spell from a mod that's too strong.

I know Performant isn't crashing the server but just not letting it actually exit so my auto crash detection doesn't kick in.

Reproducability

Play the game and then somehow get it to crash and generate a crash report.

Mod up to date

Minecraft version

1.18.1

Modloader version

Forge

Logs

https://gist.github.com/mja00/247404b4dbcb9bf26bb8157e542c4b57

someaddons commented 2 years ago

are you sure its performant stalling the server? Because the log messages at the end means that performant stopped all threads that were still running due to the crash

someaddons commented 2 years ago

What you could try is adding : https://www.curseforge.com/minecraft/mc-mods/shutdowner to the server, as it detects shutdown hangs and prints out the stalling threads to the log/kills it off afterwards

mja00 commented 2 years ago

It's definitely possible performant isn't doing it. Just it started once I added it so I had assumed the two were related, but it could really be anything in this pack (Direwolf20 1.18). I'll look into adding shutdowner since it'll probably resolve any hangs and it'll be useful to change up some of the shutdown messaging. If I get another hang with shutdowner installed I'll post the logs here if you don't mind.

someaddons commented 2 years ago

any new logs on this?

mja00 commented 2 years ago

Yeah, I don't think my players have crashed the server, or at least it doesn't hang anymore since I installed Shutdowner. So I think it's safe to assume it was most likely a different mod causing the crash and I just assumed it was performant. Appreciate the mod recommendation and assistance.