someaddons / performant_issues

Issue repo for performant
3 stars 0 forks source link

[Bug]: Serverwide Timeout When Performant 1.18.2 Installed #259

Closed DistantDig closed 1 year ago

DistantDig commented 2 years ago

Describe the bug you're experiencing

We currently have a server running the RFK Reborn modpack with performant 1.18.2. The timeouts seem to happen anywhere between 20 minutes to 4 hours, mostly at about 2 hours. We've tried desperately to get more information as to why the timeouts are happening or if there's a mod incompatibility but we can't find anything. The console log freezes, and no crash ever happens so there are never any reports. We recently swapped hosts (from Pebblehost to DedicatedMC) and this issue started. The new host runs better, but we can't reproduce the problem on the old host, with exact mod list and everything. The only things we can guess might be contributing to this problem is the amount of players online, or that the new host uses aikar's flags and is somehow incompatible.

Reproducability

We couldn't even reproduce it, but maybe use RFK Reborn modpack on dedicated mc with performant server side. Super specific but its the only time the issue comes up for us

Mod up to date

Minecraft version

1.18.1

Modloader version

Forge

Logs

https://gist.github.com/DistantDig/365ea424ca855d583f4f676c9728d41c

DistantDig commented 2 years ago

Update to this, it does seem to be related to players somehow. The more players that are on the server the sooner the timeout happens. It doesnt seem to happen when only 1-2 players are online

someaddons commented 2 years ago

Since the mods are the same on either server I'd guess it depends on how the servers startup flags/max memory assigned is setup, sounds like a big GC lag is kicking ppl off

DistantDig commented 2 years ago

By any chance, do you perhaps know what the flags need to be changed to? We’ve tried configuring the flags to fix the issue but nothing we do seems to help

someaddons commented 2 years ago

just don't use any flags, default java is fine esp on java 17

DistantDig commented 1 year ago

We've been struggling with this for a while now and we've narrowed it down some. The issue is still super inconsistent but it seems to be happening in a specific area of our world. It doesnt always immediately time out but theres a higher chance for the server to go down once the area is loaded. We've reached out to our server host who has helped us extensively but even they cant seem to fully figure out this issue. We're still trying to get the answer but theres something that is causing a memory leak when performant 1.18 is installed

DistantDig commented 1 year ago

so to add to this, we may have found a cause. its not always super consistent, but it seems that whenever you are near a jar from the mod lilwings, the timeout happens after a while. I'm not sure if its tied to any specific butterfly type within the jar, but it does seem to be related to the butterfly in a jar blocks