Lag from to many minecart_chests beeing loaded
I run a private server for some online friends and we have issues with lag. On top times we are 20 people online, 15 of us is pretty standard.
I talked to the support of my host and showed them my spark profile and they pointed out that 1.3k minecart_chests are loaded and that these are causing the lag probably. The weird thing is that most of these are in their own region. I have some clusters of 10-15 of them but also a lot of singles that are loaded, so i dont think its someone messing with the server and that these are somehow really 1.3k naturally spawned minecart_chests.
Had any of you guys ever have the same issue? Could there be a datapack i use that puts markers on the minecarts so they stay loaded? Are the minecarts even the problem or can you maybe find something else in my profile that could cause the problems?
If it is the minecarts, what would be the best way to handle it? Kill them by command?
https://spark.lucko.me/DLhpAZuqNY
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
16 Replies
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Fabric
Requested by raeskaes#0
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by raeskaes#0
I’ve never seen that before
1333 chest minecarts
spread out over all the regions
Recommendation:
Try not to use datapacks, and use mods instead
they’re poorly optimised
often laggy
Strangely, chunk unloading is taking a significant portion of your server thread
i would love to run plug-ins but i have not found any replacements.
custom_roleolay_data should not be a problem i think, used that for years. maybe its blazeandcaves or the highspeed rails?
possibly
any idea what could cause that?
No clue. Not sure how 900 regions are being loaded with 15-20 plrs
Have you got a chunkloading mod
nope
It sounds like a fucked up world.
Realistically your only option right now is to /kill them all
that sucks ^^
Also
datapacks are using ~25% of your thread
were can i see that
![No description](https://cdn.answeroverflow.com/1254917017878663299/image.jpg)
is there a way to find out what data pack is causing this?
was restarting the server to get rid of the rail datapack to see if thats causing issues and catched the server nearly empty for a short profile. It still says all the regions are loaded
https://spark.lucko.me/2rT6bIfLV4
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Spark Profile Analysis
❌ Processing Error
The bot cannot process this Spark profile. It appears that the platform is not supported for analysis. Platform: Fabric
Requested by raeskaes#0