New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extreme lags and ram consumption after island delete/reset and rebuild #2356
Comments
I completely deleted bentobox and reinstalled it, but when I installed it I discovered that this version 2.3.0 is probably not compatible with the mc version 1.20.2?! correct? If I use the older version of bentobox, 2.2.0 and ai 1.18.1 then it runs on the server again. Did updating the plugins cause the problem? Which MC version should I use so that the new bentobox runs best? |
i got the message when i installed the latest version of bentobox and acidisland from https://download.bentobox.world/ |
Tasty, could it be related to the Copy World Chunks in Acid Island? |
@LindAn79 how large are your islands? (distance-between-islands value) |
distance-between-islands: 350 |
This error is caused by MC version incompatibility: java.lang.IllegalArgumentException: Newer version! Server downgrades are not supported! I am not sure what would be causing that on your setup, but I'd recommend trying 1.20.4. |
Hmm. Maybe. I'd have to run some tests with these island sizes, but it doesn't seem overly big. It could also be something to do with 1.20.2. They skipped over that version really quickly. |
that is because you used 1.20.4 to create items in blueprints for some gamemodes :D |
okay, I have now upgraded the server to 1.20.4 but there are problems when I change something in the config with bentobox o.O what's wrong this time? [22:20:32 ERROR]: [BentoBox] CRITICAL ERROR!* |
lol okay, I found it... in locale I typed de-DE and not de |
I started a completely fresh server with mc version 1.20.4 with 10 GB of RAM and fewer plugins so that I can rule out all of that, unfortunately the same error. I'm very sure that it's acidisland and bentobox that's causing problems, or what do you think? If you need further information then write to me. I need the plugin, my server is based on it. O.O I would be happy to help with the solution as much as I can. |
For the above results, can you list the steps did? For example:
Also, did you use all the defaults? |
in the last case with the new server: ps: it also starts to lag when I use the delete command and not reset |
If you want I can also give you access to the new server?! I can also give you OP and FTP access, then you can see for yourself. Write to me privately and I will send you the data. if that helps you reproduce this |
hi, I wanted to ask what the status is? Are you working on the problem or is it not yet reproducible? A short update would be nice, I'll wait :-) |
Yes, I'm looking at it but this is a hobby and I have IRL obligations for work and things. Some homework - in the BentoBox config.yml there are settings for island deletion. Try reducing those to do fewer chunk deletions. It should reduce the lag. BentoBox/src/main/resources/config.yml Line 188 in b8e1f33
Also you can try this setting: BentoBox/src/main/resources/config.yml Line 207 in b8e1f33
|
Everything's fine, it's clear that it's a hobby, which is totally fine, but it would be helpful for me if I could assess how and whether it's being taken care of or whether there's any motivation at all or if I have to look for another solution. As I said, my server is based on this plugin. and unfortunately the 2 tips you gave don't help, I've already tried them and unfortunately they don't help. hmmm... as I said, no stress but some feedback would be nice so I can assess that, thanks :-) |
I opened spark profiler before using /is reset. |
What values of the |
At the moment I have original settings: paste-speed: 64 I've already tested it with significantly less and that didn't make any difference paste-speed: 16 |
I just pushed a PR showed improvements in my testing. This issue came to light because the protected area of the user's island is large. In this case the island size is 600 x 600 and about 2,800 chunks were being regenerated when it was deleted - which is a lot. The root cause however, is that when deleting chunks of an island, all chunks were being regenerated even if they had never been generated yet. Also, similarly, chunks in the seed world were being generated. So lots of unneeded chunk generation was being done. This PR only regenerates chunks that need to be regenerated, i.e., they have already been generated. Also, it continuously updates the seed worlds with chunks when they are generated in the main world so that when deletion occurs, they don't have to be generated at that point. Although this will optimize for the situation where the user doesn't explore much, if a user does go to all the chunks in their island, all of them will need to be regenerated at deletion time, although at least the seed worlds ones will not have to be done. Some suggestions:
With all of this, please make backups just in case. The latest build should be on the ci.bentobox.world server soon. |
The correct build is building now... |
EXCELLENT! Thank you :-) |
Expected behavior
i want to delete or reset the island and execute the commands
Observed/Actual behavior
the island was deleted and i can create it again right away but the server lagt very heavy /tps 20, 16, 10, 2, etc...
it takes a very long time for the tps to go up again, 1-2 minutes.
when i look into the console of the server i see that the RAM consumption is extremely high and does not go down again. the problem is permanent until i restart the server. then everything seems to be “normal” again until i want to delete/create an island again.
Translated with DeepL.com (free version) sry for bad english ^^
Steps/models to reproduce
as stated above, the problem occurs every time you delete/create an island
BentoBox version
i use 1.20.2 with bentobox 2.3.0 and acidisland 1.19.0
yes i have read that you should not use screenschots but where can i find the complete output of the command? there was nothing in the log except that i used the command, sorry
if you tell me where i can find the edition of the order i will gladly send it to you
Plugin list
Other
i can't say exactly but i suspect that i've only had the problem since i deleted the islandworld once and regenerated it. maybe that's the problem?! but i can't get it back to normal no matter if i delete the database from bentobox or not. do i have to remove anything else?
The text was updated successfully, but these errors were encountered: