ModernFix

ModernFix

72M Downloads

[1.16.5] Servers frequently not loading up past "SimpleReloadableResourceManager"

antibang opened this issue · 9 comments

commented

I run 2 servers running my modpack, though one is slightly different than the other. However, they both experience the same issue. We noticed that the servers weren't booting up by themselves after restart a lot of the time, but not every time, and seemingly become stuck on "SimpleReloadableResourceManager" during startup. This results in me or my staff having to forcibly kill the server and boot it up. This doesn't always work and is sometimes needed several times before it finally fully starts.

I removed the mod just to make sure something else wasn't the culprit, but the issue went away after removal. When readded, the issue came back. I tried disabling a few mixins, but wasn't having any success and thought I should submit an issue before continuing. I've included both the latest log and debug.

latest.log

debug.log

commented
commented

Do you need the dump as the problem occurs? I'm not very familiar with thread dumps.

commented

Yes; if you're not familiar with thread dumps this debug build will perform a thread dump by itself every 60 seconds, so wait for the freeze to happen, wait another minute or so, and then send the log.
debugbuild.zip

commented

I apologize for the slow reply. Here's the log using the build:

latest.log

Could this be due to mixin.perf.kubejs ?

commented

It's possible but doubtful; that option only makes some optimizations to the KubeJS reload process and I'd expect it to outright crash if it really had issues. (Additionally it's a very old feature that's been present since the early days of the mod.)

The thread dump is strange and doesn't really give any insight into why the server thread is waiting for the resource reload still. Is it possible for me to get a ZIP of the mods and config in use for testing locally?

commented

I assume BaerCraft is the modpack you are running on your server. I tested locally with the latest server pack (0.8.5.5) and it can consistently launch each time I've tried it. So I'm not sure if the problem is with ModernFix, or something on your specific server.

commented

Yes, I can zip them!

Couldn't upload to GitHub, so here's the Google Drive link.

Additionally, I should possibly mention that my co-dev's server (not running BaerCraft) also experiences this issue. I do know they use a few of the same server-sided mods, but I'm not sure exactly what specifically.

commented

Issue doesn't seem to occur even with this config/mods. A friend was also kind enough to grant me access to their much more powerful system (to rule out the possibility of it only occurring on fast enough servers) and I was still not able to reproduce. I think it must be something specific to your server environment, or world file.

I've made some changes to try and improve stability in the next release but it's doubtful they would automatically fix this issue (one can always hope though!). If the issue really is caused by ModernFix it should be possible to narrow it down to a specific option and turn that off. It'd be interesting to see if disabling mixin.perf.resourcepacks fixes it but again that's a very old option which has rarely had any issues.

commented

Closing as I'm not sure I can do anything else about this, but let me know if it still occurs with the latest version (5.0.4 or newer).