EssentialsX

EssentialsX

2M Downloads

EssentialsX hanging server shutdown.

mibby opened this issue ยท 8 comments

commented

Tuinity dev 91 (Paper Fork)
EssentialsX dev 904

@md678685 @JRoy Commit fc2b7b6 with 8b71437#diff-d515c857ac85b710ac67491e3dd1779aR367 is causing the server to hang on shutdown. I'm forced to kill the task.

[13:39:43] [Server thread/INFO]: [Essentials] Disabling Essentials v2.17.2.84
[13:39:43] [Server thread/INFO]: [Vault] [Economy] Essentials Economy unhooked.
[13:39:43] [Server thread/ERROR]: [Essentials] An external backup script is currently in progress! Halting plugin disable until finished.
[13:39:52] [ViewDistanceCat AsyncTick thread #0/WARN]: The server has not responded for 10 seconds! Emergency safety mechanism to trigger! Temporarily stopped ViewDistanceCat 30 seconds!
[13:39:52] [ViewDistanceCat AsyncTick thread #1/WARN]: The server has not responded for 10 seconds! Emergency safety mechanism to trigger! Temporarily stopped ViewDistanceCat 30 seconds!
[13:39:52] [User Authenticator #12/INFO]: UUID of player kubolich is 82370ded-eac3-479a-bf9f-8d1e85202dea
[13:40:14] [User Authenticator #12/INFO]: UUID of player kubolich is 82370ded-eac3-479a-bf9f-8d1e85202dea
[13:40:22] [ViewDistanceCat AsyncTick thread #0/WARN]: The server has not responded for 10 seconds! Emergency safety mechanism to trigger! Temporarily stopped ViewDistanceCat 30 seconds!

Downgrading to v2.17.2.79 (dev 899) there is no issue. The server is properly able to shut down and restart.

commented

@mibby do you have a thread dump?

commented

Unfortunately not, it didn't output anything. The server just froze in place so I force killed it. It happened both times I tried restarting.

commented

Are you using tuinity master or the voxel fixed branch? Additionally, can you attempt to let the server hang for long enough that it generates stack traces

commented

Please also attach a copy of your config.yml

commented

I am using the master branch as of commit Tuinity/Tuinity@a02e992. The voxel branch currently has an issue with players not being able to login for me due to a recent commit.

config.yml
https://paste.ubuntu.com/p/GQych2Tnsj/

commented

@mibby How are you shutting down your server, give a full list of plugins, which essentials build does this happen on, can you reproduce this more than once, and can you run jstack to get the current stack when the server is hanging?

commented

which essentials build does this happen on

I'm guessing from their first post

EssentialsX dev 904

commented

How are you shutting down your server

Standard /stop command being ran by remote console button to run the server through the typical shutdown procedure. Then starting it normally as usual from a cold state.

give a full list of plugins

This isn't going to be too helpful. I make use of over 80 plugins.

which essentials build does this happen on

As noted above, dev 904. (2.17.2.84)

can you reproduce this more than once

Yes, every shutdown.

can you run jstack to get the current stack when the server is hanging?

Not in my current production environment, sorry. I'll try to wait longer and see if it generates a thread dump.

Because An external backup script is currently in progress! Halting plugin disable until finished. outputted, I'm guessing there is a logic loop somewhere. Essentials stops itself until the backup finishes, but doesn't want to complete the shutdown until it saves logout times on shutdown. So because the plugin is halted, shutdown is stopped. I don't actually use any backup scripts or commands.