Skip to content
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

Server crashes on world unload #2659

Closed
arch-user-france1 opened this issue Jul 2, 2021 · 17 comments
Closed

Server crashes on world unload #2659

arch-user-france1 opened this issue Jul 2, 2021 · 17 comments
Labels
Bug: Confirmed Issue/problem with the software. Resolution: Duplicate Issues that has already been reported.

Comments

@arch-user-france1
Copy link

Information

  • Server version:

  • Full output of /mv version -p:

  • Server log:

Details

I was <able / not able> to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.

Description

Steps to reproduce

Expected behavior

Screenshots

I am using the newest version with 1.17 spigotmc
When I join a world it prob. works and loads the world but if I unload the world the server crashes (shut down)

@arch-user-france1 arch-user-france1 added the Bug: Unconfirmed Unsure if the issue/bug is valid. label Jul 2, 2021
@benwoo1110
Copy link
Member

Follow the issue template with logs of errors and other requested information.

@arch-user-france1
Copy link
Author

WHY DO YOU CLOSE THIS

WICH LOG

@benwoo1110
Copy link
Member

Information

Server version:

Full output of /mv version -p:

Server log:

Provide proper information with valid prove of the issue. Then yes, it shall be reopen.

@arch-user-france1
Copy link
Author

arch-user-france1 commented Jul 3, 2021

Ok server log...

I currently can't reproduce it but I assume it is:

  1. Server issues crash because ticks/ms too low (lag) or
  2. Server issues crash because no free ram (But that's special because unloading a world shouldn't use much RAM)

But the bug persists. It depends on how many players are online and how much RAM is free on the server (there is also a nextcloud server running)
I copy the Server log if it happens again

@arch-user-france1
Copy link
Author

Please open that again

Here your log:
http://cloud.bubicloud.ch/nextcloud/index.php/s/8e3qtwn69ZtWbTZ (no ssl)

All that can happen because of RAM wich is confusing but the Server tries to issue a command and it can't be executed because the zram is uncompressing the cached files wich struggles the server and ticks slow down so - well - the server issues a crash

@arch-user-france1
Copy link
Author

Now futher Information:

Unloading a world wich isn't loaded will cause a world load and directly a world unload
That's the problem!
Please fix this in your mod

@benwoo1110
Copy link
Member

I tested creating and unloading of worlds on a papermc 1.17 server. No issue faced, you can see the logs at https://paste.lucko.me/uwoCxYOFJz

@benwoo1110 benwoo1110 added Bug: Can't Reproduce Bug reports that no one can replicate. and removed Bug: Unconfirmed Unsure if the issue/bug is valid. labels Jul 3, 2021
@Multiverse Multiverse deleted a comment from arch-user-france1 Jul 3, 2021
@arch-user-france1
Copy link
Author

Can't reproduce? I'm not the only one with this bug

reproduce:
Server has 1700M RAM (-xms)
Use for example a Virtual Machine to give the Ubuntu System (20.10, ubuntu.com) 4G RAM
Open Firefox Browser to simulate consumption of nextcloud
Set up and install zram* (sudo apt install zram* -y)
Start zram service: sudo service ((press TAB)) start
start Minecraft Server
generate a world (1.17) named world2 (normal world, pvp on difficulty NORMAL, AUTOLOAD OFF)
stop the server
start the server (make sure you hav min. 80% of ram used when started)
log in to the server
make 3 command blocks: mvunload world2, mvload world2, mvtp @p world2
place a button for every command block
Load world2
tp into it
unload world2
load it again
unload twice
Now at least the server should crash!

@arch-user-france1
Copy link
Author

Oh maybe you want to skip some steps but please use the OS ubuntu

@arch-user-france1
Copy link
Author

please reopen it BECAUSE NO FIX

Why do you close things with no fix

@benwoo1110
Copy link
Member

Haven't seen the crash log and stacktrace btw.

@arch-user-france1
Copy link
Author

??

@arch-user-france1
Copy link
Author

arch-user-france1 commented Jul 3, 2021

http://cloud.bubicloud.ch/nextcloud/index.php/s/8e3qtwn69ZtWbTZ (no ssl)
here the full log

@benwoo1110
Copy link
Member

You keep saying there is an error and crash by mv. But the logs you send has no errors by mv.

@arch-user-france1
Copy link
Author

mv causes the errors - server never crashed before and was more smooth

It is using a function by spigot that crashes the server (maybe syntax wrong or - unloading a world that's not prob. loaded

@benwoo1110
Copy link
Member

I see you said command blocks, duplicate of #2560

@benwoo1110 benwoo1110 added Bug: Confirmed Issue/problem with the software. Resolution: Duplicate Issues that has already been reported. and removed Bug: Can't Reproduce Bug reports that no one can replicate. labels Jul 3, 2021
@arch-user-france1
Copy link
Author

ok I'll take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Confirmed Issue/problem with the software. Resolution: Duplicate Issues that has already been reported.
Projects
None yet
Development

No branches or pull requests

2 participants