Problems Migrating from Plugin to Mod
(Server Hosted on G-Portal, Minecraft 1.21.1, Fabric 0.16.14. DH 2.3.4-b)
(Other Mods: Simple Voice Chat)
Ive switched my server from Paper to Fabric, and while using the Plugin Version of the Serverside support didn't create any problems for me, i just cant get the Mod version to work now.
As soon as a player Joins the console just prints
[DH-PriorityTaskPicker Thread[48]/WARN]: §6Distant Horizons: Insufficient memory detected.§r
followed by the server crashing within seconds.
From what ive understood the way to change the Mods settings is via the /dh config command, but i cant use it because the server just crashes as soon as a player joins. its hard to tell for me how to change values to make it better, as the wiki doesnt state default values or if its in blocks/chunks.
Or if the server just doesnt have enough memory for the mod version, if its way more demanding than the plugin?
https://mclo.gs/PWItEZH latest.log
https://mclo.gs/QIDbKHv crash report
If theres any other Info you need let me know, im running dry on my own understanding slowly.
Solution:Jump to solution
It doesnt crash anymore on Modrinth (15$/Month package) pregen is running now.
(So dont use Gportal if you do, or use the Plugin version if possible)...
24 Replies
The crash is due to minecrafts watchdog stopping the server
Minecraft thinks you have 64 cores/threads (not sure what
CPUs
in the crash report represents), so low impact will use a fairly high number of threads
and with 4GB of ram allocated it will crash
Is this on a server host?Yeah i noticed so too, the toml reads it using 32 cores by default, but ive found no way to change it as the server crashes too fast.
Yes on Gportal as stated. i also cant find a way to change the startup arguments of the server (if it could be this`?https://discord.com/channels/881614130614767666/1035937626944962641/1351505656020074506)
Just trying to figure out if theres a way to fix it for me or if i have to contact their support no matter what.
The option is called
numberOfThreads
under common.multiThreading
in the DistantHorizons.toml
ok then ive found the correct thing already

If the server only has 4GB of ram you should probably set that to 2 at most
It seems gportal has their server somehow setup wrong so that they let mc see all 64 threads
Ok i will try that for now. ive just checked the old plugin settings yml and it uses 2 by default
yeah the plugin uses a lot less since its limited by mc vanilla generation
someone had the same issue before, idk if it was gportal or another hosting provider
Yeah i tried to search for all kinds of keywords i found something that sounded similar with another gportal user but it wasnt quite the same
https://discord.com/channels/881614130614767666/1385606032041967788
ah yeah it is
i guess gportal has their setup wrong lol
Yeah i wish i could host locally but i just cant rn.. so im stuck with the providers and their webinterfaces i love so much x.x
modrinth is a pretty good hosting provider
doesnt seem to really be available yet here

(im german) also is priced more than double x.x
UK still has good ping
with the same hardware config?
yes with the same config its +112%
and longer billing cycles
ill just try to fix it on gportal for now if it doesnt work ill switch anyway
idk they don't say anywhere how many cores you get
Yeah but i doubt its just 1, i never had any TPS spikes with 5+ players running voice chat, dynmap and dh
they use Xeon cpus apparently
but how many threads each tier gets is not shared anywhere
hmm it still crashes with 2. but a lot later
Took a whole minute
the watchdog timeout is a minute
hmm it crashed a lot faster before
So i guess i have to switch to a different host...
You could also use e4mc or worldhost
oh i dont want to host it on my pc. i need a dedicated one
Solution
It doesnt crash anymore on Modrinth (15$/Month package) pregen is running now.
(So dont use Gportal if you do, or use the Plugin version if possible)