Jump to content

Server CPU usage constantly at 200% with a sub-1MS ticktime, no one online


Recommended Posts

Posted

I run a custom modpack server with Forge 1558. The modpack is brand new and hasn't been heavily tested. However, the server is ALWAYS using 200% of my CPU (100% on both cores) on my Linux server, even when no one is online. The total ticktime in all worlds combined is always less than 5 ms.

 

Nothing else is running on the server. The CPU measurement was taken with the top command.

 

I took a NPS profile of the server with Sampler for about 20 minutes and this was the result; https://www.dropbox.com/s/fktby7l9fy7m10t/main.nps?dl=0

 

Even with no one on the server, CPU usage is at 200%. My CPU does not support downclocking, it remains at a constant 4.2 GHz speed. Temperatures are around 60-64 max. (If the CPU downclocked to say, 1GHz, that might explain the CPU usage, but not the temps!)

 

Is anyone able to interpret the NPS I provided? Thank you!

 

Edit: If it makes a difference, even with 7 players online the TPS remains around 18 or higher. The CPU is quite capable.

Posted

Thats nowhere near vanilla Forge. You have quite a few mods installed.

I'd start by removing the ones listed as coremods.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Well there are plenty of java profilers out there, visualvm comes with the JDK, JProfiler is also a good one, has a free trial IIRC.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.