MordorsElite
DHDistant Horizons
•Created by MordorsElite on 3/14/2025 in #help-me
High CPU usage when terrain generation shouldn't be running
I have 100% CPU usage despite no one being on the server, terrain generation being set to disabled and no pregen running. The CPU usage also never drops off.
I have already generated a huge amount of terrain using both a high range around the player and pregen. (3.86gb with LZMA2)
Since then I have set the player generation range pretty low, since all relevant terrain should already be generated. Since that didn't fix it, I've also turned off distant terrain generation.
However CPU usage continues to be at 100%, regardless of whether there is even any players on the server.
Obviously I can reduce the CPU usage by not setting it to "I paid for the whole CPU", but I would expect DH to also idle when there isn't anything new to generate. But for some reason it is not :(
My best guess for what is happening is that DH is continuously updating random chunks, as the sqlite file doesn't seem to grow in size despite all the CPU usage. Is this intended behaviour and if so can I somehow reduce that?
I am running a localhost 1.21.4 fabric server with the following mods:
architectury 15.0.3
BeamBeGone 0.0.2
carpet-extra 1.4.161
cloth-config 17.0.144
DistantHorizons 2.3.0-b
fabric-api 0.118.0
fabric-carpet 1.4.161
ferritecore 7.1.1
jamlib 1.3.2
lithium 0.14.8
NoChatReports 2.11.0
rightclickharvest 4.5.1
servux 0.5.2
textile-backup 3.1.3
29 replies