BentoBoxWorld / BentoBox

Expandable Minecraft server plugin for island-type games like SkyBlock or AcidIsland.
https://bentobox.world
Eclipse Public License 2.0
337 stars 140 forks source link

performance issues! Can't keep up! Is the server overloaded? #1187

Closed general2811 closed 4 years ago

general2811 commented 4 years ago

Description

Describe the bug

im running the bentobox plugin since you released it on github but i got on my server allways the Can't keep up! Is the server overloaded? error! my rig have enough resources to handle more than one server (60 gig ram with 10 core intel 2640v4) and the only one who have this error is the bentobox server! im running paper #105 1.15.2

Screenshots and videos (Optional)

https://timings.aikar.co/?id=712697934b274d76868f81a954ca612c

Environment

BentoBox Version (Mandatory)
[22:27:14 INFO]: in Betrieb PAPER 1.15.2.
[22:27:14 INFO]: BentoBox version: 1.11.0
[22:27:14 INFO]: Database: MYSQL
[22:27:14 INFO]: Geladene Spielwelten:
[22:27:14 INFO]: acidisland_world (AcidIsland): Overworld, [nether_color]Nether, [end_color]End
[22:27:14 INFO]: bskyblock_world (BSkyBlock): Overworld, [nether_color]Nether, [end_color]End
[22:27:14 INFO]: caveblock-world (CaveBlock): Overworld, [nether_color]Nether, [end_color]End
[22:27:14 INFO]: skygrid-world (SkyGrid): Overworld, [nether_color]Nether, [end_color]End
[22:27:14 INFO]: Geladene Addons:
[22:27:14 INFO]: AcidIsland 1.11.0 (ENABLED)
[22:27:14 INFO]: BentoBox-InvSwitcher 1.6.0 (ENABLED)
[22:27:14 INFO]: Biomes 1.6.0.1 (ENABLED)
[22:27:14 INFO]: BSkyBlock 1.11.0 (ENABLED)
[22:27:14 INFO]: CaveBlock 1.11.0 (ENABLED)
[22:27:14 INFO]: Challenges 0.8.0 (ENABLED)
[22:27:14 INFO]: Chat 1.0.0 (ENABLED)
[22:27:14 INFO]: ControlPanel 1.7.0 (ENABLED)
[22:27:14 INFO]: DimensionalTrees 1.6.0 (ENABLED)
[22:27:14 INFO]: ExtraMobs 1.11.0.2 (ENABLED)
[22:27:14 INFO]: Greenhouses 1.0.0 (ENABLED)
[22:27:14 INFO]: Level 1.9.0 (ENABLED)
[22:27:14 INFO]: Likes 1.7.0 (ENABLED)
[22:27:14 INFO]: MagicCobblestoneGenerator 1.7.0.2 (ENABLED)
[22:27:14 INFO]: MagicSummon 1.5.0.0 (ENABLED)
[22:27:14 INFO]: SkyGrid 1.11.0 (ENABLED)
[22:27:14 INFO]: TwerkingForTrees 1.1.2 (ENABLED)
[22:27:14 INFO]: VoidPortals 1.5.0.0 (ENABLED)
[22:27:14 INFO]: Warps 1.9.0 (ENABLED)

Plugins (Optional)

Plugins (48): antiRedstoneClock, ArmorStandCrashFix*, Autorank, BannerBoard*, BentoBox, BoosterSystem, BottledExp, BungeeTabListPlus*, ClearLag, CMI, CMIEInjector*, CommandPanels, Discord*, EasyBackup, Essentials, EZColors, FarmLimiter, FurnaceNotify*, GetSpawners, HelpopGUI, InvSee*, JetsMinions*, LeaderHeadsRevamped, LuckPerms, LuckPermsGUI*, MarriageMaster, MaSuiteCore*, MaSuiteHomes*, MaSuiteWarps, Multiverse-Core, MultiWorldMoney*, OwnDogs, PandoraAliasCommands, Parkour, PartyAndFriendsGUI, PlaceholderAPI, PluginLibrary, PlugMan, ProtocolLib, ProtocolSupport, ProxyTicketsBukkit*, Shop, UltimateVotes, UltraRegions, Vault, VentureChat, WorldEdit, WorldGuard

Additional context (Optional)

tastybento commented 4 years ago

There was a serious bug with Paper/Spigot a few builds ago that caused major lag, but it's fixed now. Maybe that was something you experienced.

In looking at your timings, I see that you have a large number of entities in the world with cows and pigs taking a fair amount of the tick. Spawners also take up to 20% of the tick:

Minecraft::tickTileEntity - nms.TileEntityMobSpawnercount(26920902) total(14.74% 32.163s, 20.11% of tick)avg(0.00ms per - 10.05ms/8,415.41 per tick)

This plugin: LeaderHeadsRevamped::Task: tech.panoply.leaderheads.b.b (Single) runs every so often, but when it does it lags for 31ms.

Apart from that, it's looking okay.