Open MamaBeau opened 4 years ago
Only when they are near? Can you do a timings report for me? The issue will be investigated when a little more information is available.
Also see #34
Mind you, this is in my spawn which is in the FLATWORLD - that timings has been running for a while as the entire server almost crashed when I moved the balance top display to another location.
The second I remove the display from the server people can warp and go to spawn without lag or any delay. The second its back it takes 20 seconds for you to load in.
i'ts same problem for me, normally if you deviate from the balancetop hologram, your spike concerns will be solved. look https://github.com/Niall7459/HolographicExtension/issues/34
I don't want to remove a top leader board, obviously thats not an ideal nor helpful fix
no I'm not talking about deleting it, I'm talking about deviating from the placeholder balancetop, if you load it your server will have peaks of tps, I'm just asking you to test it but normally that's it
sorry i'im french
Theres no other placeholder to track top balance? I'm not sure what you are saying.
look at the link I put above my post, I show a little bit where the lag comes from, I look at your timings, I see that you with a lot of tick entities that causes you a big lag speak
Thats not whats causing the lag at my spawn however, I've been testing a ton with whats causing the issues with my players and this plugin will literally take my server down to 13 TPS when I move or change that scoreboard.
I started by removed entities and that didn't fix the issues, then I stated by removing plugin, starting with Holographic Displays and Holographic Exten - this single handedly fixed the issues at my spawn. People could come to spawn and were saying how happy they were that it was fixed.
So not to lose this plugin that Ive used for so many years, I removed the holos one by one until I found the one causing the issues, which was the balance one.
I'm not here for any other reason other than the fact that the scoreboard for balance top is whats rendering my spawn useless.
so I have the same problem, ;)
What refresh holder did you give them? {medium}, {fast} e.g?
{slowest} for me
It doesn't matter what refresh I use - we tried them all and they all lag still
Any update to this?
I will look into it
thanks
hello do you have a news ? :D
Yeah, I'm getting dangerously close to launching my new season and would have loved some progress on this issue
same for me ..
Just looking for some kind of insight before I switch to another plugin.
I havn't had time to properly look at this, I still don't see a reason why this happens of top of my head.
The placeholders you are using.. are they accessing databases or anything on the fly? Because this is vault vault is only the api. What's your underlying economy implementation, Essentials e.g.
Not accessing a database Essentials eco
Using the vault placeholder obviously.
What it seems like is maybe not this plugin but maybe the way essentials is refreshing the balances, I know another person that is using the board on their server without an issue and using essentials. They have a small playerbase though, where I have 3k unique joins.
Anything?
The lag spikes don't seem consistent. Infact they are over 4 minutes and not equally spaced
GC PS MarkSweep: 35 avg(628.09ms every 1416.26s) Wrong Garbage Collector FIX THIS Switch Java flags to stop receiving lag spikes. https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/
we've done that, and that timings report isnt very accurate for us because somewhere in there the board was removed. I couldn't continue to run it and it almost crash my server, had to remove it. Since removing it, we've not had a single. Not one. Lag spike.
Hello, I invite you to have a good look at https://github.com/Niall7459/HolographicExtension/issues/34 , I made several tests, remove all the holograms, put only the hologram of the balanctop and it is very real, the hologram including the placeholder of vault balance top, generates peaks of lags, when we remove the placeholder of the balancetop, and that we put back the others, there are no more peaks of lags.
If you don't find the mistake, he was defrauding the Essentials, or vault, from where the trouble could come. For now it will be impossible to use this type of hologram.
I guess the only real thing I can do is to switch plugins. And add LeaderHeads to track this and see if it happens with that one.
Its sad that we're still at the point of questioning if this is real or not with this plugin, after almost 3 weeks. :(
The main issue, as with any software, is narrowing down the cause of this. I know Brice already gave me a configuration of his holograms, could you provide yours please?
What happens if you replace the vault placeholders (all 20 of them) with something such as %player_time%. Do you still observe the TPS peaks?
I checked out repository for the vault expansion, all seems fine, it's updating placeholders async so shouldn't cause any disruption, unless your running on a single core system.
That leaves us with holographic extension unless your results from swapping placeholders say different. As for holographic extension there is not much room for performance improvement's because of the way it works. But we will see
The issue here could possibly be with Essentials eco, is it possible that it does not update BalTop Async which then causes a large delay inbetween the systems communicating?
We discovered that there's a similar issue with that use Envoy's plugin and a timer. That Holo extension updates too fast for the timer, but we aren't sure if thats going to cause us any lag.
I was running 2 other leaderboards at my spawn on that server, island top (BentoBox) and VoteTop (VoteParty) they didn't lag the server at all.
We cant currently test the results of adding a different vault placeholder because our server is no longer running as we reset today at 1pm - but what @Paul19988 said makes sense (Paul is my developer)
The issue here could possibly be with Essentials eco, is it possible that it does not update BalTop Async which then causes a large delay inbetween the systems communicating?
This is what I initially thought, the trail is actually quite long
HolographicExtension -> PlaceholderAPI -> Vault Expansion -> Vault -> Essentials Eco. There is actually a task in the Vault Expansion updating and caching the BalTop placeholders every 30 seconds.
This was added in March, relatively new https://github.com/PlaceholderAPI/Vault-Expansion/commit/a4514ea5921c8729dfacca716ebc6eef4d384253
That leads me to another thing- have you got the latest version of the Vault Expansion?
We discovered that there's a similar issue with that use Envoy's plugin and a timer. That Holo extension updates too fast for the timer, but we aren't sure if thats going to cause us any lag.
I was running 2 other leaderboards at my spawn on that server, island top (BentoBox) and VoteTop (VoteParty) they didn't lag the server at all.
We cant currently test the results of adding a different vault placeholder because our server is no longer running as we reset today at 1pm - but what @Paul19988 said makes sense (Paul is my developer)
Sorry, are the VoteTop and IslandTop leaderboards also using HolographicExtension? And it's just the Bal Top hologram causing issues?
Yeah, just Bal Top hologram causing the issues and we last updated Vault Expansion on May 3rd
Yeah, just Bal Top hologram causing the issues and we last updated Vault Expansion on May 3rd
Correct ^ once the holo was removed there were no more issues from then on out with lag of any kind.
That doesn't leave me with much, are you able to run another timings report for slightly longer
I have no server to do that on, as stated above.
We had 50 players on with advertisement one day, and it took my TPS down to 8. Removed the holos at spawn - TPS shot back up to 20.
If you would have been about a week sooner I could have gotten you another timings report that was more accurate but since we are resetting today, that server is no longer in function.
Of course it's difficult for me to perform accurate tests in a different server environment.
I will install a similar setup to what your using and run a profiler on the server to see if I can more accurately narrow down the issue.
Using a profiler may be able to give me a better insight on the issue. How many offline/unique players did you have on your server?
And how many would you usually have on at one point when issues occured?
You can make the test with no player ;) You just have to be close to the hologram for it to be active in the chunk. It will generate spikes. That's what I did, you can test, if you move away from the hologram and the chunk isn't loaded (move away, reboot the server) and do a test you won't see any spikes.
Ok thank you, I'll run this test now
Just for the sake of it what server version are you running?
Pauls going to throw our server up, the old one with all the data if you want to come see it.
1.15.2
1.15.2
If you want to give me your in game names I can whitelist you both and we can check it out together
I have ran some tests
I think I am able to safely rule out the Vault expansion, essentials and placeholder api, although this takes into account 1 single offline player, considering your server had 3k offline players.
I'm left with HolographicExtension and Vault Although they are still only using 2.2% of the overall load, this may be a lot more visible when it's confined to a short space of time (tps peaks)
It may just be because updating 20 placeholders via packet injection is too intensive
We found the issues actually - I think paul is going to type it up
We only had 10 not 20 btw
Heyo, so after pulling apart the holos & playing around with them (deleted them all & reinstalled the plugins + expansions) It appears to have solved the issues
Balance top leaderboard showing top 10 balances on the server lags my entire server anytime anywhere goes near it, in this case, anytime anyone goes to my spawn.
Is this being worked on? Fixed? Is there a way around this?