Problem Horizons Server hogging CPU

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

RamasesN3

New Member
Jul 29, 2019
4
0
0
Operating System, bit type: Ubuntu 13.10 64bit
Java version/update, bit type: Java 7 64bit
Anti-malware software: ClamAV
Location you're downloading from: FTB Launcher
Launcher version: 1.2.9
Completed the troubleshooting guide (y/n): n : not really an problem, more a query
Console log, pastebin.com link: not posted as the server is running
I have a dedicated Ubuntu box for running Minecraft servers, it has a 2.8Ghz dual core i5 processor and 8Gb DDR3 (can't remember the speed) RAM.

I was running a Tekkit server and a FTB Unleashed server simultaneously both with startup scripts like this "java -Xms512M -Xmx4G -XX:permSize=128 -Jar server.jar nogui" (where server.jar is the appropriate name). This worked fine.

Recently Tekkit has fallen out of favour so I decided to close it down and run a Horizons server with the same startup script config.

This is where my issue lies, the Horizons server starts up with a GUI despite nogui being specified and then proceeds to eat up 60 - 70% of the CPU. This is without any users connecting, I am currently the only player whitelisted and I haven't connected yet. RAM usage is lower than my Uneashed server when it's empty but then that has a pretty large world with a couple of chunk loaders.

The High CPU usage stops me running the Unleashed server along side the Horizons one.

Any ideas what might be going on and what I can do to fix it?
 

Gravenlord

New Member
Jul 29, 2019
23
0
0
I'm having a similar problem, though I using direwolf pack, recently upgraded to 1.6.4.

The mean tick time (/forge tps) is above 5ms with zero players online, and with a few players online I'm getting above 20ms.. This is the same server hardware and startup script that I used to run dw1.5.

I havent found any reason for this yet, but I'm still trying to nail the process that's hogging the cpu/tick time.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
Try installing sysstat on your server and then run mdstat while it is using a lot of CPU.

Also check if anything else is running with the command top
 

RamasesN3

New Member
Jul 29, 2019
4
0
0
Gave up on Horizons and DireWolf20 packs. Am now running a TechWorld2 server alongside my FTB Unleashed and a Vanilla 1.7.4 server
The hardware sits around 20% CPU with no players