Description
Skript version: 2.2-dev36
Paper Spigot Version: latest as of today August 18th (1.12.2)
It seems Skript locks it’s variable file for about 15 seconds every 5 minutes, also causing the server to hang as it waits to read/write to this file. It does not ALWAYS lag every single 5 minutes, I like to think it doesn’t lag if it happens to not be writing or reading any variables during one of the 15 second lock periods. But during busy hours it lags literally every 5 minutes.
Thanks to this latest version of paper, I can show you a thread dump whenever the server hangs. I have discovered the source of my lag spikes, occurring every 5 minutes, is Skript itself, I have also tried disabling all of my addons and found the spikes continued.
I apologize in advance for using a phone for this, my laptop was recently stolen
I have tried disabling several of my more “intensive” scripts but again the issue continues.
I have also tried disabling several other plugins but again no luck.
I also talked to Aikar who made /timings and he helped me optimize my garbage collection + Java flags but again no effect on this issue
This issue has been ongoing for at least two or more months so I would very much appreciate a fix.
This is a strong dedicated server for the record
Here are the plugins I was using when I removed all of my addons, when the issue continued:
https://gyazo.com/16f296ba1b8ec900a3e9ce390c10815d
Here is the thread dump provided by paper due to my sever hanging for 10 seconds, and another dump from a continued 15 second hang.
https://gyazo.com/b57332e654ac57c9315cbd0cf280f968
https://gyazo.com/d02dd4cdac2942801c4af5490c1782f2
https://gyazo.com/9cf7d66ad109aea1170aacc88342968a
https://gyazo.com/f77deacdb051b986249efca11bdbbc25
If you need to know anything else or have any ideas on how I can fix this, please let me know.