Jesper
AAdmincraft
•Created by Jesper on 9/19/2023 in #questions
Server keeps crashing due to entities, can't find out why
So i'm running a minecraft 1.20.1 purpur server inside a docker container. The server was running well at first, but since this week i've seen alot of crashes due to a high entity count. I've used spark to create profiles, and it was showing 1800 loaded entities at time. When a certain player entered the game, the entity count nearly doubled (from 1000 to 1800). I can't however find out where these entities are coming from. When i'm present in the region of that player, the f3 menu only shows 60 entities being loaded. When i look in the regions using the spark viewer alot of random regions where no players are present are also loading entities. How is this possible?
Server info
- Purpur 1.20.1 build 2060
- Running inside itzg docker container
- Shared VPS, we got 4 cores from the 64 cores. Hosting provider is Portainer
- Sim distance: 10, view distance: 10
- Only 2-3 players online at the moments of crashing. No crazy farms or redstone contraptions have been built yet
I've been trying to optimize this server for weeks now and at this point i'm completely clueless how i can fix this, so i'm reaching out to the community of people who definitely know more about optimization than me. Thank you in advance for helping me out
51 replies