Create

Create

86M Downloads

Severe Server-Side Issues - Exponential Entities, Severe MSPT + TPS, & Audio Issues - 1.18.2 (FML version 40.2.10).

TheGameAce opened this issue ยท 2 comments

commented

Describe the Bug

Going to link someone else's report first: #5712

So I've been having severe server issues in the past few days on a custom modpack, and I couldn't find out why. Effects kept snowballing, MSPT and TPS kept tanking harder and harder, and finally checking /forge entity list, revealed a buildup of hundreds of thousands of "items", which produced immense lag and eventually got to a point the chunk the farm was in got into a corrupted state, which later on after an initial fix simply caused a single tick to indefinitely freeze up, leading the server to going down every time. It wasn't until I finally deleted the entire region and all the issues disappeared, that I realized it was something player-made.

Once I realized that, I started reviewing all the data and mods we were using, and concluded Create was the most likely issue. The region file being deleted (deleting the contraption) and the data that followed, just about sealed it for me. This was the latest Spark report, post-region-deletion: https://spark.lucko.me/q3xXJY0Ate
The reason I linked someone else's report, is because I came here seeing if there was an issue, since a similar farm to this had been running prior to a world reset in the last version of Create, without issues. Once I read that report, that confirmed (along with all the rest of the data) what the issue was.

As you'll notice, TPS and MSPT have completely stabilized, as have items in-world. Create has also disappeared from CPU use, and the issues have effectively all vanished. Another issue that had been plaguing me and my players, with game audio cutting out randomly, also vanished. For the life of me, I have no idea how it was somehow even doing that, but nonetheless here we are.

EDIT
I almost forgot to add two things:

  1. Crash Utilities kept reporting constant memory spikes. I initially thought this was CU being buggy, but these reports stopped after the region deletion and the rest of the issues vanished.
  2. In relation to 1, I realized that a mod I was previously using, Memory Sweep, wasn't actually being buggy detecting constant issues that it kept trying to clean up. I theorize now it was detecting the memory spikes that CU was detecting, and the poor GC that Spark indicated in a report.

Reproduction Steps

No good way to explain this, since I don't personally know enough about Create functionality. A friend created an iron farm via Create, and it caused the issues. I'm sure if needed, he could probably provide you with what you need.

Expected Result

N/A

Screenshots and Videos

N/A

Crash Report or Log

https://spark.lucko.me/AxZ5fzftsp (No crash report or log that'll help)

Operating System

Windows 10

Mod Version

0.5.1f

Minecraft Version

1.18.2

Forge Version

40.2.10

Other Mods

Too numerous, includes some Create addons. However, only base-mod blocks and functions were utilized.

Additional Context

To add, I've been running the server for close to an hour now with the region regenerated without the Create farms that were operating, and I've had not a single further issue (save for some excessive mob spawns, which is unrelated).

My guess is this is a new bug with the latest version of Create that wasn't present in the last version, since issues like this didn't take place then, despite the same contraptions and setups. Hope this gets fixed soon, since it's a shame that it prevents me and my players from enjoying such a beautiful mod.

commented

if you have items that accumulate in-world. then it's a farm design problem, i.e. a player problem. some servers have a mod to periodically destroy such items precisely to counteract the lag caused by user oversight.

commented

Well aware, and confirmed that wasn't what was happening. Farm was running consistently without changes for a long time and kept entities around 150 - 200 at any given time. The issue occurred at random, and extended beyond just item entities. Crash Utilities also found errors, detecting the items but only detecting 2 to be cleared at any given time. The items would also keep appearing even when the chunks were unloaded, stopping eventually when the chunks were re-loaded, for no apparent reason.

The same machine setup was also running in a world prior to a reset (on the last version of Create before the current) and the same issues didn't occur.

I'd also add that even if that issue was coming specifically from a farm malfunction, there's numerous other problems that shouldn't be occurring that I can attribute to the mod.

Addendum: The audio issue that's a part of this seems to happen when any Create contraptions are set up.