Luohuayu / CatServer

高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server)
https://catmc.org
GNU Lesser General Public License v3.0
1.98k stars 211 forks source link

[1.12.2] Chunks are not unloaded #341

Closed dayd21git closed 2 years ago

dayd21git commented 3 years ago

DivineRPG latest. The world "DIM427" has no players.

[20:47:46] [Server thread/INFO]: Uptime: 6 hours 23 minutes 29 seconds
[20:47:46] [Server thread/INFO]: Current TPS = 19.89
[20:47:46] [Server thread/INFO]: Maximum memory: 5,120 MB.
[20:47:46] [Server thread/INFO]: Allocated memory: 3,304 MB.
[20:47:46] [Server thread/INFO]: Free memory: 1,319 MB.
[20:47:46] [Server thread/INFO]: World "world": 379 chunks, 393 entities, 1,124 tiles.
[20:47:46] [Server thread/INFO]: Nether "DIM-1": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: The End "DIM1": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM34": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM33": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM800": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM801": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM802": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM803": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM804": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM805": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM806": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM807": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM808": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM809": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM810": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM811": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM812": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM813": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM814": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM815": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM816": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM817": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM818": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM819": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM820": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM821": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM420": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM421": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM422": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM423": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM424": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM425": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM426": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM427": 937 chunks, 17 entities, 2,060 tiles.
[20:47:46] [Server thread/INFO]: World "DIM-8": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "DIM2": 0 chunks, 0 entities, 0 tiles.
[20:47:46] [Server thread/INFO]: World "skyblock": 0 chunks, 0 entities, 0 tiles.
Heriptik commented 3 years ago

I have the same problem, you use essentials command (/gc -c), i think it's a essentials bug

dayd21git commented 3 years ago

I have the same problem, you use essentials command (/gc -c), i think it's a essentials bug

And what about RAM memory? It would then be occupied less than it actually is, if it was really a visual bug. I think so, but I don't claim it.

Heriptik commented 3 years ago

I have also this memory problem which is only increasing, it's necessary to put more frequent server restarts

dayd21git commented 3 years ago

I have also this memory problem which is only increasing, it's necessary to put more frequent server restarts

In any case, it would be worth paying attention to this problem

Luohuayu commented 3 years ago

Use the latest release?

dayd21git commented 3 years ago

Use the latest release?

Yes

BartolomeoDR commented 3 years ago

=)

Heriptik commented 3 years ago

[16:28:48] [Client thread/INFO]: [CHAT] Durée de fonctionnement : 11 heures 33 minutes 39 secondes [16:28:48] [Client thread/INFO]: [CHAT] TPS actuellement = 16.66 [16:28:48] [Client thread/INFO]: [CHAT] Mémoire maximale : 26,624 Mo [16:28:48] [Client thread/INFO]: [CHAT] Mémoire utilisée : 24,576 Mo [16:28:48] [Client thread/INFO]: [CHAT] Mémoire libre : 10,672 Mo [16:28:48] [Client thread/INFO]: [CHAT] World "world": 968 chunks, 280 entités, 0 tiles. [16:28:48] [Client thread/INFO]: [CHAT] World "DIM72": 157 chunks, 0 entités, 368 tiles. [16:28:48] [Client thread/INFO]: [CHAT] Nether "DIM-1": 0 chunks, 0 entités, 0 tiles. [16:28:48] [Client thread/INFO]: [CHAT] World "DIM20": 7,115 chunks, 192 entités, 13 tiles. [16:28:48] [Client thread/INFO]: [CHAT] World "DIM15": 10,078 chunks, 1,446 entités, 4 tiles. [16:28:50] [Client thread/INFO]: [CHAT] Overall : Mean tick time: 33.524 ms. Mean TPS: 20.000

I have 65 players simultaneously, it's hard to believe that they generate 18k chunks

shinefield commented 2 years ago

的确有这个问题,资源不释放,我服务器上的玩家疯狂跑图,最后越来越卡 @Luohuayu

Luohuayu commented 2 years ago

可能有MOD或插件阻止了区块卸载, 建议单一排除 There may be mods or plugins preventing chunk unloading, single exclusion is recommended @shinefield @Heriptik @dayd21git

Luohuayu commented 2 years ago

尝试修复, 如果问题依然存在请重新反馈. Try to fix, if the problem persists please report again.

DonorKrovi commented 2 years ago

This fixed!