Server crashes on world unload
arch-user-france1 opened this issue ยท 17 comments
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)
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.
Ok server log...
I currently can't reproduce it but I assume it is:
- Server issues crash because ticks/ms too low (lag) or
- 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
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
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
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
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!
http://cloud.bubicloud.ch/nextcloud/index.php/s/8e3qtwn69ZtWbTZ (no ssl)
here the full log
You keep saying there is an error and crash by mv. But the logs you send has no errors by mv.
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
I see you said command blocks, duplicate of #2560