Cant keep up! Is the server overloaded?
Hey the server keeps getting this message running DH 2.3 on lithosphere world gen.
Distant generation is off
Used chunky to preload a little to test but the server still gets that same overloaded message when exploring
Is this normal for modded worlds running dh?

44 Replies
And it doesn't happen without DH?
no
it doesnt
i gave it 6gb but idk if thats enough
Try giving it 8 GB
This message is a vanill message saying that the CPU is overloaded
Try reducing DH CPU laod preset
Also:
/chunky
Using Chunky to pregenerate for DH is not recommended for several reasons. The first one is the swiss cheese that might show up when using chunky while DH is installed. The second reason is that it's pointless, as DH has a build in pregenerator that is better integrated than chunky:
- It saves space by only storing LODs, not normal chunks
- It is faster to use DH's pregenerator to generate the LODs than first using chunky to generate the normal chunks, and then using DH to convert the normal chunks to LODs
- It is part of DH, and therefore always/only called when DH needs it
- Chunky calculates it's radius in blocks, confusing the user if they are not aware of this
Distant Horizons' built-in LOD pregenerator is enabled by default, and can be sped up or slowed down by changing the
Cpu Load
in DH's settings, or disabled by turning off Distant Generation.
If you want to pregenerate both LODs and normal chunks, set the Distance Generator Mode to Internal Server
under Advanced, World Generator. This will of course take up quite a lot more storage space. Make sure you have C2ME installed if you want to use Internal Server, as the generation speed will be crap if you don't.
Note, this also applied to other similar pregeneration mods./generators
- FEATURES: Complete generation of all LODs with mostly correct structures and trees. Does not save vanilla chunks, and is much faster than INTERNAL_SERVER unless C2ME is installed.
- INTERNAL_SERVER: Generates and saves both DH LODs and vanilla chunks, has 100% correct LODs, because it also saves vanilla chunks it takes the most amount of drive space. Generation speed will suck unless C2ME is installed.
- PRE-EXISTING: generates LODs for all existing vanilla chunks.
thank you! i’ll keep testing today hopefully can get the message to atleast slow down
Idk what other mods you have, but installing some server side performance mods might help if you don’t have them already
yeah i’ve got the usual performance mods. on the server i pre generated a good amount of chunks but it still seems to be overworking when exploring. i thought with the chunks pre generated on server side it would make it smoother when exploring the “new areas”
cpu load spikes to over 1000% and the message “can’t keep up, is the server overloaded?” keeps popping up
i pre generated chunks using the built in server pregen command but when playing the server there’s still large spikes when going to a unexplored chunk
not using chunky
@Borous sorry for ping but i noticed you had a server running with the message im getting. i’m wondering if you have some experience with dh on server
I didnt have the issue when I assigned only about 2-4 scheduler_threads to DHS, I eventually opted to put it up to 8 so that it would take less time. It does lag out my server a ton but for me its worth it given that it'll take only a few days instead of weeks
this is what mines looking like. and only when exploring

mine is averaging at about 50 ticks behind too, however I should add that I'm running a world pregen
so i assumed that after pregen it would make it easier on the server when players are exploring but it doesnt seem any different. after loading the world i walked around a bit and server was spiking just as it did before the pregen
maybe i misunderstand the benefits or functions of pregen for the dh server
Mhh that is odd,
are you certain that you have firstly pregenerated the chunks in question, and then also generated the LODs for them?
hmm
if players are generating wholly new chunks + generating LODs for them, that could def lag things out
im new to server side lately so pls excuse any confusion
ah no worries!
i ran dh pregen command and the server file has been growing up to 6gigs then after i let the lods load and after that is when i went to test performace when exploring
so it seems like server is saving the info
oh yeah LODs do take up a fair amount of space
in all fairness I have been loading a ton, but I've had several instances now wherin I ran out of disk space
just strange that its still spiking as bad as when it was generating chunks and lods at same time
i imagined the server loaded chunks would improve performance and make it less stressful on the server but its still pretty high

this is standing still

then cpu load is stressed when exploring even though everything is pregenerated and distant generation is disabled
maybe im just setting something wrong idk lol

mhh, have you adjusted anything in the config.yml?
where can i find this?
ah figured
its in the plugin directory, within a file called something like DHSupport
file named "config.yml"
Im taking you have thus far made no adjustments to it?
no
in that case it should be set to the default value of 2
which, isnt terribly high
Frankly it may be that your servers specs may be a bit on the weaker side?
this is all ive done to try to improve

i read somewhere that raised threads could help with this kind of problem
i think default is 10 or 12?
The default is determined based on the amount of threads your system has, for the mod.
oh ok so it varies gotcha
Are you using the mod or plugin
the mod
i’m not completely sure what the plugin is
i run the latest of the mod on the server and client on fabric 1.20.1
Do you have any optimization mods
yes all the fabric recommended
C2me, noisium and lithium can help with generation speed and bottlenecks
such as indium lithium noisium
c2me i havent tried
Thread was archived by luke. Anyone can send a message to unarchive it.