CPU / Memory Leak thing? (READ BELOW)

I run a server on pterodactyl in a docker container, 1.20.1, fabric. I got two issues and Idk if their related to each other. 1. For my pterodactyl instance i have the memory cap set to 12 gb of ram but for some reason its using almost 9, when i go into spark to check how much the minecraft server is using, its less than 2 gb. 2. For some weird ass reason, im getting MSPT spikes in my game, it'll be at 15-17 mspt then for no reason it just SPIKES to 35-37 MSPT for a few seconds before going back down. Yes i have multiple memory leak plugins. I think it only happens when im in populated areas with entities and chests but either way that shouldn't be happening. Weird thing is when these spikes happen, the memory usage stays the same but the CPU usage spikes. I will send logs, spark reports, and my plugin directory. Please help.
15 Replies
Dil
DilOP4d ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Dil
DilOP4d ago
No description
Dil
DilOP4d ago
Here is the log that shows starting the mc server up
Dil
DilOP4d ago
Here are some of the only errors i get on the server, not sure if they're affiliated
Dil
DilOP4d ago
its not a huge usage right now but sometimes it'll be the container is using 7gb while the mc server itself is only using 2
No description
Dil
DilOP4d ago
If anyone needs anything else please lmk "YOU HAVE 735 SILVERFISH" Mob switch, lazy chunks, didn't do anything even before this issue
Skullians
Skullians4d ago
I have a system in place to help diagnose these - I’ll get a fabric version of my tooling over tomorrow @Dil
Dil
DilOP4d ago
👍
TurboVadim
TurboVadim4d ago
Pterodactyl shows all memory allocated to container (Java heap), and spark shows usage inside of heap
Dil
DilOP4d ago
Even so and as I’ve been told by multiple people, 7 gb usage inside a container only running mc at 2gb is alittle too much
TurboVadim
TurboVadim3d ago
I don't think so
Dil
DilOP3d ago
What else would 7gb be used for? Also it wasn’t like this a month ago Have had the server up for 1 1/2 years Almost it was 1-1.5 gb of extra ram being used Not 7
ProGamingDk
ProGamingDk3d ago
your server is allocating 10 gb, only spark can see the actual usage of that allocation panel can only show the allocation amount
Skullians
Skullians3d ago
This is an expired profiler Your flags don’t contain always pre touch right?
Dil
DilOP3d ago
Nope

Did you find this page helpful?