Refined Storage

Refined Storage

77M Downloads

Chunks are being loaded by RS with zero players online and no way to disable it

tenten8401 opened this issue ยท 4 comments

commented

Issue description:

Something related to RS is causing chunks to be loaded when there are zero players online after a fresh restart. Removing RS fixes the problem. I don't know why, or if it's an RS problem or a mod conflicting with it.

I was reading around and stumbled across this blog post: http://dannyandson.com/server-lag-problem-found/
It looks like RS could possibly be loading chunks without making proper forge tickets (I do not know if this is true or not)

What happens:

When I start up my server, some players have their bases loaded, causing lag with nobody on. Whatever's loading their bases is not using tickets, and removing RS from the server fixes it.

When running these tests I did not have Reborn Storage, Refined Storage Addons, or any other chunkloading devices enabled on the server (they're all banned except chickenchunks, which I removed for testing)

Before removal of RS with zero players online:
Before

After:
After

Again, these tests were run with zero players online directly after a cold restart.

I'm open to trying just about anything, I can get logs, I can patch the jar, I can give you access to the server, but I'm all out of ideas at this point. Spark (based off of WarmRoast, a profiler) just blames it on random blocks that should not be loaded (none of the RS blocks are directly causing lag).

Does Refined Storage use tickets to load chunks? If it does, I could immediately rule out if it's really RS loading the chunks or not. All I know at this point is removing RS fixes it. I'm open to trying anything and would be willing to follow any pointers you might have.

If this is clearly not an issue with Refined Storage, feel free to close this issue, but I feel like might be purely because if I remove it, the problem goes away.

Again, any suggestions on what to try would be greatly appreciated. Pretty much all I got from asking in the Discord was being told that I should upgrade my server, which is an i7 4790k and 16 GB RAM purely dedicated to this server.
The server is running IndustrialBox 0.10.0 on ATLauncher.

Version (make sure you are on the latest version before reporting):

  • Minecraft: 1.12.2
  • SpongeAPI: 7.1.0-6eb292fd
  • Sponge: 1.12.2-7.1.5-SNAPSHOT
  • SpongeForge: 1.12.2-2768-7.1.5-RC3514
  • Minecraft Forge: 14.23.5.2805
  • Refined Storage: 1.6.2

Does this issue occur on a server? yes

commented

I don't think GitHub is sending the comment I sent by email, I've been waiting about 30 minutes.

My problem isn't the lag caused by the blocks, I can deal with that later since I have a pretty good idea on what blocks need to be banned. I was purely using the pictures as a way to show that there are in fact chunks being loaded when there shouldn't be.

My problem is there's no way to configure chunkloading from RS, it seems to just do it whenever it wants and doesn't use tickets so I can't even disable it. The ideal behavior would be waiting until the owner of the system is online to load it, and possibly providing some config options to adjust it.

commented

RS doesn't do chunkloading.

commented

I'll close this for now, do some debugging, and determine if I can find what other mod must be causing it then, probably by just removing them 1 by 1 until the situation improves. I have no clue why removing RS would fix it, but maybe there's something conflicting with it.

commented

Not unlikely that RS is chunkloading stuff. And what the post says about chunkloading sounds about right from my experience?

But Chunkloading itself does not stop a server from loading or cause lag issues. The things that are in those chunks are much more likely the issue.
Do some server profiling and then we can take a look at who or what may be responsible.
https://refinedstorage.raoulvdberge.com/wiki/profiling