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?
No description
44 Replies
Puhpine
Puhpine2w ago
And it doesn't happen without DH?
luke
lukeOP2w ago
no it doesnt i gave it 6gb but idk if thats enough
Miki_P98
Miki_P982w ago
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
YAGPDB.xyz
YAGPDB.xyz2w ago
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.
Miki_P98
Miki_P982w ago
/generators
YAGPDB.xyz
YAGPDB.xyz2w ago
- 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.
luke
lukeOP2w ago
thank you! i’ll keep testing today hopefully can get the message to atleast slow down
Miki_P98
Miki_P982w ago
Idk what other mods you have, but installing some server side performance mods might help if you don’t have them already
luke
lukeOP2w ago
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
Borous
Borous2w ago
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
luke
lukeOP2w ago
this is what mines looking like. and only when exploring
luke
lukeOP2w ago
No description
Borous
Borous2w ago
mine is averaging at about 50 ticks behind too, however I should add that I'm running a world pregen
luke
lukeOP2w ago
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
Borous
Borous2w ago
Mhh that is odd, are you certain that you have firstly pregenerated the chunks in question, and then also generated the LODs for them?
luke
lukeOP2w ago
hmm
Borous
Borous2w ago
if players are generating wholly new chunks + generating LODs for them, that could def lag things out
luke
lukeOP2w ago
im new to server side lately so pls excuse any confusion
Borous
Borous2w ago
ah no worries!
luke
lukeOP2w ago
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
Borous
Borous2w ago
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
luke
lukeOP2w ago
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
luke
lukeOP2w ago
No description
luke
lukeOP2w ago
this is standing still
luke
lukeOP2w ago
No description
luke
lukeOP2w ago
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
luke
lukeOP2w ago
No description
Borous
Borous2w ago
mhh, have you adjusted anything in the config.yml?
luke
lukeOP2w ago
where can i find this?
Borous
Borous2w ago
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?
luke
lukeOP2w ago
no
Borous
Borous2w ago
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?
luke
lukeOP2w ago
this is all ive done to try to improve
luke
lukeOP2w ago
No description
luke
lukeOP2w ago
i read somewhere that raised threads could help with this kind of problem i think default is 10 or 12?
Skillnoob_
Skillnoob_2w ago
The default is determined based on the amount of threads your system has, for the mod.
luke
lukeOP2w ago
oh ok so it varies gotcha
Skillnoob_
Skillnoob_2w ago
Are you using the mod or plugin
luke
lukeOP2w ago
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
Skillnoob_
Skillnoob_2w ago
Do you have any optimization mods
luke
lukeOP2w ago
yes all the fabric recommended
Skillnoob_
Skillnoob_2w ago
C2me, noisium and lithium can help with generation speed and bottlenecks
luke
lukeOP2w ago
such as indium lithium noisium c2me i havent tried
Needle
Needle2w ago
Thread was archived by luke. Anyone can send a message to unarchive it.

Did you find this page helpful?