Slow shutdown on Velocity - vol 2
mikroskeem opened this issue ยท 4 comments
Description is same as in #2275 basically.
- /lpv info
[23:23:44 INFO]: [LP] Running LuckPerms v5.1.63 by Luck.
[23:23:44 INFO]: [LP] - Platform: Velocity
[23:23:44 INFO]: [LP] - Server Brand: Velocity
[23:23:44 INFO]: [LP] - Server Version:
[23:23:44 INFO]: [LP] 1.1.0-SNAPSHOT (git-51819b56-b145)
[23:23:44 INFO]: [LP] - Storage:
[23:23:44 INFO]: [LP] Type: PostgreSQL
[23:23:44 INFO]: [LP] Ping: 2ms
[23:23:44 INFO]: [LP] Connected: true
[23:23:44 INFO]: [LP] - Messaging: Redis
[23:23:44 INFO]: [LP] - Instance:
[23:23:44 INFO]: [LP] Static contexts: server=proxy
[23:23:44 INFO]: [LP] Online Players: 0 (0 unique)
[23:23:44 INFO]: [LP] Uptime: 5s
[23:23:44 INFO]: [LP] Local Data: 0 users, 10 groups, 0 tracks
Running LuckPerms build 1128
Last snippet from the log:
[23:18:38] [Thread-5/INFO]: Shutting down the proxy...
[23:18:38] [Thread-5/INFO]: Closing endpoint /0.0.0.0:25577
[23:18:48] [Thread-5/ERROR]: Your plugins took over 10 seconds to shut down.
[23:18:48] [Thread-5/INFO]: Starting shutdown process...
[23:18:48] [Thread-5/INFO]: Closing messaging service...
[23:18:48] [Thread-5/INFO]: Closing storage...
[23:18:48] [Thread-5/INFO]: luckperms-hikari - Shutdown initiated...
[23:18:48] [Thread-5/INFO]: luckperms-hikari - Shutdown completed.
[23:18:48] [Thread-5/INFO]: Goodbye!
jstack: https://paste.gg/p/anonymous/f6e837216ee94c4f93e0cef9ea5a3605
Hmmm seems related to Redis from that jstack, although the slow shutdown seems to be happening before LP disables?
[23:18:48] [Thread-5/ERROR]: Your plugins took over 10 seconds to shut down.
[23:18:48] [Thread-5/INFO]: Starting shutdown process...
Maybe the velocity scheduler is being closed before plugins disable?
Should be fixed by PaperMC/Velocity@04ab6ed