LuckPerms

LuckPerms

41.4k Downloads

Server is disconnecting people after I add permission to the group

BestMark opened this issue ยท 8 comments

commented

Hello,

I recently noticed a big problem with your plugin. After I added permission on the server (survival) in my BungeeCord network, another server (skyblock) hadn't allowed players to login. I think that this is due to a big ping to the server with the MySQL database. On the thread dump you can see that the server disconnected the players because of your plugin: https://pastebin.com/vsbzDGz1

[07:47:19] [luckperms-0/INFO]: [LP] LOG > (nickname@survival) [G] (creative) 
[07:47:19] [luckperms-0/INFO]: [LP] LOG > webeditor add invrestore.recoverinv true server=survival 
[07:47:19] [luckperms-0/INFO]: [LP] LOG > (nickname@survival) [G] (creative) 
[07:47:19] [luckperms-0/INFO]: [LP] LOG > webeditor add invrestore.saveinv true server=survival 
[07:47:22] [luckperms-0/INFO]: [LuckPerms] [Messaging] Received update ping with id: 562283df-01c9-4d12-91e5-03651dc13408

After that I could see:

[07:54:21] [Server thread/INFO]: /188.186.73.162:60003 lost connection: Disconnected 
[07:54:28] [Server thread/INFO]: /188.186.73.162:33791 lost connection: Disconnected 
[07:54:38] [Server thread/INFO]: /188.186.73.162:48233 lost connection: Disconnected 
[07:54:59] [Server thread/INFO]: /188.186.73.162:37611 lost connection: Disconnected 
[07:55:06] [Server thread/INFO]: /188.186.73.162:41737 lost connection: Disconnected 
[07:55:07] [Server thread/INFO]: /178.71.219.173:37255 lost connection: Disconnected 
[07:55:13] [Server thread/INFO]: /62.133.162.238:55973 lost connection: Disconnected 
[07:55:15] [Server thread/INFO]: /178.71.219.173:33373 lost connection: Disconnected 
[07:55:21] [Server thread/INFO]: /62.133.162.238:35579 lost connection: Disconnected
commented

If the database ping is the issue, it's really not LPs fault.

commented

Ping to MySQL database is about 50-80 ms. I do not think it is a lot. But the ping is big enough to write about it. I think most users use LuckPerms on a local network.

commented

That's a lot.
What does /lp info show? It should tell you the ping LP sees.

commented

screenshot_20190128-215932_juicessh

commented

That database ping is fine - LuckPerms does all of it's database work async so it won't have any effect on the MC server performance.

You've only provided a very small part of the crash log - so I can't comment on the actual cause. Nothing here suggests it's LuckPerms though.

commented

This is not a crash log, this is thread dump. The server worked fine when it happened, it was 20.0 TPS, but it wouldn't let the players to join. What other information do you need?
I can send you: JFR, full thread dump and server log. All this suggests that the reason is LuckPerms.

commented

The full thread dump would be useful if you have that :)

commented

Please re-open when/if you have ^^ available. :)