Subscribe
Recruiting the public's help for ArenaPvP Lag
Posted on 17 February 2016 - 01:44 PM
I think it might be lagging because of OVH, maybe when they get themselves sorted we wont be so laggyPosted on 18 February 2016 - 03:23 PM
I have an idea to a solution . (Sorry for bad grammar i'm young)First Off i know how arena pvp plugins work as i had a server with one along time ago, you set arenas as spawn points in the plugin Ex: /kitpvp set arena . and i know due to a bug that let me fly around the arenas once that there are 100+ arenas in badlion's arena pvp world. if the plugins bug is that the chunks are reloading at a unreasonable rate (100,000+)
and that causes the lag because the process is intensive and takes a while to complete (7 seconds ) (that is what i got when i timed it). I think the issue may be that the map is too big and everything in arena pvp is too compacted. one thing you could do is find another way to clear chunks then setting them to air after a match. another fix may be making the arenas a spawn world instead of custom built. I dont know for sure but i think minecraft client or server can only use 1 core. so stressing that core may be slowing down the server dramaticly. causing the lag when the chunk updates glitch. so in theory if you make most of the arenas vm's and change the plugin to send arenas over bungeecord. the lag will stop or at least not be global across all the arenas . i have worked on a solution that may help a little bit.
MY SOLUTION Assuming that your servers are dedicated. you are probably are not using multicraft mainly and have access to windows server or linux (whichever is installed) if you have the access to the os. for each na arena server i would make 100 or so virtual machines with 2gb ram (duplicate the first one). install linux on them as well as java . load your spigot backup from the org. server set the max players for each vm to 10 = 5 matches. only put 5 arenas in each vm (each a different map) . change your your custom plugins to load configs from a global file in the main server so it will update across all vms. Examples : (banlist, elo, invertories, ranks). the arena pvp plugin should also load arenas based off a config file of ip's of the vms to connect to and have it search for an empty arena through the vms . once you have 1 of the servers set up duplicate it as many times as you need then set up ips for bungee to connect to eg: naarena1.badlion.net euarena1.badlion.net. each server should be exactly the same execpt for the ip. if this works then the lag should only happen on 2 or so arenas or not at all instead of the whole server. GOOD LUCK
WITH FIXING THE LAG
If this worked i have lion so my friends ign is ZebraPajammies ty <3
duels and unranked should stay on the na pvp server as they are not ranked so lag wont matter as much
Posted on 18 February 2016 - 04:40 PM
Have you considered Mob stacking on UHC?? it could really help the server lag/ tps.Posted on 18 February 2016 - 04:54 PM
Assending wrote
Have you considered Mob stacking on UHC?? it could really help the server lag/ tps.
smh
Posted on 18 February 2016 - 05:50 PM
Assending wrote
What?
That is 100% not the solution xd
Posted on 18 February 2016 - 05:56 PM
Locking this thread as I have identified the issue myself through a lot of source code reading.Thanks everyone for reporting other bugs that we have gone ahead and patched.
@ty_rex222 I gave you D+ for helping to report another core issue that was actually a network wide issue.
I will make a follow up thread explaining what the bug was later.
Thread is locked