Server only uses a single thread

  • Thread starter Thread starter /u/EarlyResolution293
  • Start date Start date
U

/u/EarlyResolution293

Guest
I am quite new in home labs and self-hosting of mc servers, so I am sorry in advance if I say something stupid.

I recently set up a server on Pterodactyl, which is installed directly on the Ubuntu machine with a xeon e5 2697v3 and 32 gigs of DDR4. The mc server is Fabric 1.21.11 with a few generation and optimisation mods. During start up or at any other time it never uses the CPU above 100.2-100.6%, which results in insane lag up to 120000ms and average tps of 6 with one player on.

The node on which the server is on doesn't have a cpu cap at all, and the server itself has 12 gigs of RAM and a cpu cap of 800% without any cpu pinning. After some research and analyzing the crash reports I found out that Java only identifies a single thread, so chokes itself until it crashes. I tried putting -XX:ActiveProcessorCount=8 into the startup command but it didn't help. I've also checked the docker configuration to the Fabric egg, and CPUQuota was also set to 800000 and CpuPeriod to 100000 (8 threads). Putting max-tick-time to -1 helped with crashes during start up but obviously didn't solve the problem. Claude said that it could be unsynced wings, but I reloaded them multiple times and it didn't help. I deleted a few mods including distant horizons, downloaded and deleted c2me, trying to force it to use more than one thread, but nothing worked.

The last crash report (before c2me was deleted and max-tick-time was set to -1) - https://mclo.gs/JFLBJ0L

Thank you all in advance for help!

submitted by /u/EarlyResolution293
[link] [comments]

Continue reading...
 
Back
Top