Having dh on my local server causing server to lag

Hello! So right now im running mc 1.20.1 forge with DistantHorizons-forge-2.3.1-b-dev-1.20.1 version. While distant generation on server side is enabled it causing my server to lag (ticks stop and then speed up) because of latency i guess. Server is constantly throwing these messages: Can't keep up! Is the server overloaded? Running 2881ms or 57 ticks behind Fix is to disable distant generation on server side. At the same time DH works as intended chunks are generated and we (players) get them without any problem. Right now i'm not posting logs because im not sure which logs will help. Also i wanna notice something very important. Lately i was using old nightlybuild DistantHorizons-forge-2.1.3-a-dev-1.20.1 that was working flawlessly on my server without any stutters. Should i try to use this version on serverside again? Any steps you would recommend me to proceed?
4 Replies
Miki_P98
Miki_P984mo ago
Try updating to newest DH nightly from #links-n-downloads Then you can also decrease the CPU load preset server side to reduce the load created by the generation
Jackass
JackassOP4mo ago
So if i get it right im typing in chat: /dh config common.threadPreset MINIMAL_IMPACT but it does not help ( i have OP on server)
Puhpine
Puhpine4mo ago
what is your server running on? what cpu? the best way to mitigate world generation lag is by pre-generating a large area
Skillnoob_
Skillnoob_4mo ago
Did you update to the nightly from #links-n-downloads ? The downloads should work again

Did you find this page helpful?