MohistMC / Mohist

Minecraft Forge Hybrid server implementing the Spigot/Bukkit API, formerly known as Thermos/Cauldron/MCPC+
https://mohistmc.com
GNU General Public License v3.0
1.32k stars 222 forks source link

[1.16.5] Low TPS, tileEntities are never unloaded #1713

Open minenexuslive opened 3 years ago

minenexuslive commented 3 years ago

Minecraft Version : 1.16.5

Mohist Version : 762

Operating System : CentOS

Mod list : https://firebasestorage.googleapis.com/v0/b/nexus-live.appspot.com/o/modlist.html?alt=media&token=22a1e570-eb6f-4526-b7f6-aa8a76058f80

Plugin list : EssentialsX, Citizens, TabListPro, WarpSystem, WorldEdit, WorldGuard, RedProtect, RoyaleEconomy, ProtocolLib, PlaceholderAPI, PlayerKits, LuckPerms, HolographicDisplays

Description of issue : I use Aikar's Timings Viewer to monitor TPS, what currently happens is that the loaded tileEntities are only increasing and the number never decreases, even with only one person online. I was searching the community and I saw other people reporting about tileEntities not unloading.

Below you can see a graph, where there are 2,000 tileEntities, which is already something high for 4 players: https://timings.aikar.co/?id=28fb47f1cbfd42259a67a940e0951309

A few days later you already have 10,000 tileEntities loaded that never go down: https://timings.aikar.co/?id=4a1f688d2a184159841673271ac5a447

MohistBOT commented 3 years ago

Hello, thanks for opening this issue!

Before continuing, please understand that Mohist is a free and open source software, made by people in their free time. Know that we are not able to give any eta about when your issue will get answered or fixed.

Our team will first check if your issue isn't duplicated. If it's the case, we will close your issue, giving your the number of the other issue so that you can follow its progress. If you are able to do it, please check that your issue isn't duplicated, this would help us a lot.

Thank you for your patience, and have a nice day (or night)!

DonorKrovi commented 3 years ago

My TPS also drops sooo much, solve this problem, Mohist 1.16.5

Romaindu35 commented 3 years ago

After test, tile entity is delete if the tile is break, but not delete when player go far of the world

Romaindu35 commented 3 years ago

But tile entity seems be unload:

Tile entity to unload [net.minecraft.tileentity.MobSpawnerTileEntity@b645da0] 
Loaded tile entity [net.minecraft.tileentity.ChestTileEntity@6d187dfe, net.minecraft.tileentity.MobSpawnerTileEntity@5027a38a, net.minecraft.tileentity.ChestTileEntity@58383ba2, net.minecraft.tileentity.MobSpawnerTileEntity@121d2ae0, net.minecraft.tileentity.MobSpawnerTileEntity@3cc452d0, net.minecraft.tileentity.BeehiveTileEntity@51129d31, net.minecraft.tileentity.MobSpawnerTileEntity@48ee499a, net.minecraft.tileentity.ChestTileEntity@335f304d, net.minecraft.tileentity.ChestTileEntity@2d13b624, net.minecraft.tileentity.MobSpawnerTileEntity@68ad5da2, net.minecraft.tileentity.ChestTileEntity@52b56bb4, net.minecraft.tileentity.ChestTileEntity@18a2f4f7, net.minecraft.tileentity.ChestTileEntity@28b0c351, net.minecraft.tileentity.MobSpawnerTileEntity@2af2dba8, net.minecraft.tileentity.ChestTileEntity@5363ed89, net.minecraft.tileentity.ChestTileEntity@31e75b73, net.minecraft.tileentity.MobSpawnerTileEntity@7fefb301, net.minecraft.tileentity.ChestTileEntity@16f3d783, net.minecraft.tileentity.ChestTileEntity@10d9d1b4, net.minecraft.tileentity.ChestTileEntity@1b6e2c1f, net.minecraft.tileentity.ChestTileEntity@191bf3c8, net.minecraft.tileentity.ChestTileEntity@115c60a7, net.minecraft.tileentity.ChestTileEntity@4fd65749, net.minecraft.tileentity.ChestTileEntity@25328478, net.minecraft.tileentity.ChestTileEntity@63f1a6a5, net.minecraft.tileentity.ChestTileEntity@48a7c3f5, net.minecraft.tileentity.ChestTileEntity@6ace5c6e, net.minecraft.tileentity.MobSpawnerTileEntity@6d68e04e, net.minecraft.tileentity.BeehiveTileEntity@83bfa10] 

In this debug code, we can see that tile entity net.minecraft.tileentity.MobSpawnerTileEntity@b645da0 is unloaded

flyalpaca commented 2 years ago

我也遇到这个问题了,玩了两天,服务器里没有一个人,但是地图上有接近3万个实体,tps只有3!

kakan35 commented 1 year ago

Unfortunately, I have the same error, I think this error is related to a plugin or a mod, because there is no such line on a server without mods and plug-ins. But you use different mods and get the same error. So I can think that it is related to the mohist software.

At87668 commented 1 year ago

My mohist server has been kept at 19~20tps. Open for several days in a row. Are not experiencing this issue.