Unable to set up server side correctly

HELPPPP
137 Replies
shaurya
shauryaOPā€¢11h ago
@Puhpine (GMT +2) plugins [15:36:55 INFO]: Server Plugins (3): [15:36:55 INFO]: Bukkit Plugins: [15:36:55 INFO]: - DHSupport, MiniMOTD, SkinsRestorer
Puhpine
Puhpineā€¢11h ago
okay and you put the nightly build on the client?
shaurya
shauryaOPā€¢11h ago
yes i got 2.3.0 i geuess or somethin like that
Puhpine
Puhpineā€¢11h ago
does f3 say "server has full DH support"?
shaurya
shauryaOPā€¢11h ago
U_DistantHorizons-fabric-2.3.0-b-dev-1.21.4
shaurya
shauryaOPā€¢11h ago
No description
shaurya
shauryaOPā€¢11h ago
i can give u the server ip if that would help ok?
Puhpine
Puhpineā€¢11h ago
dont send jar files please
shaurya
shauryaOPā€¢11h ago
That was just for name Sorry anyways "-"
Puhpine
Puhpineā€¢11h ago
decrease your GUI scale, text is being cut off
shaurya
shauryaOPā€¢11h ago
here'
No description
shaurya
shauryaOPā€¢11h ago
ok ?
Puhpine
Puhpineā€¢11h ago
looks like its working you can see "server has full DH support" on the side
shaurya
shauryaOPā€¢11h ago
where is it written can't seem to see it It is also nota loading any LODS
Puhpine
Puhpineā€¢11h ago
its there /slowgen
YAGPDB.xyz
YAGPDB.xyzā€¢11h ago
World generation in general is quite slow, if you want to speed it up: Install Noisium and Lithium, these mods can improve generation speed by a couple percent. Make sure to remove the C2ME mod as it significantly slows down DH chunk generation by up to 35%. Increase CPU Load in Distant Horizons settings for faster generation, but you will experience more lag spikes and stuttering due to heavier workload on CPU. To see if Distant Generator is really working or not: 1) Check CPU usage while in-game, using Aggressive settings of CPU Load. If CPU usage's hovering around 80-100%, the LoDs are generating in the background. 2) Go to DH settings > Advanced Options > Debug > Wireframe, set Enable Debug Wireframe Rendering and Show World Gen Queue to True. Enabling both settings will show you the visualization of world gen tasks queued and working on the map (blue boxes for queued tasks, red boxes for working tasks)
Puhpine
Puhpineā€¢11h ago
try the second part
shaurya
shauryaOPā€¢11h ago
wait that works on servers too ohhhh
Puhpine
Puhpineā€¢11h ago
yes, you can set the cpu load on a server with the /dh config command then change the threadPreset option but im not sure if the plugin has that implemented now some features are not implemented by the plugin version yet, and i always forget what is and what isnt implemented
shaurya
shauryaOPā€¢11h ago
No description
shaurya
shauryaOPā€¢11h ago
Here comes the real problem THe /dh is showing red and no command showing/ working The server is barely using any cpu, and no new llod is rendering outside of vanilla render distance @Puhpine (GMT +2) , u ther ? @hardester (GMT+8) , ur turn
Skillnoob_
Skillnoob_ā€¢11h ago
They're not here just for you yknow Be patient
shaurya
shauryaOPā€¢11h ago
yehh, ik , i just wanted to use hardesters gif on him
hardester
hardesterā€¢11h ago
I'm busy playing Genshin Impact.
shaurya
shauryaOPā€¢11h ago
thats why @Skillnoob_ "-"
hardester
hardesterā€¢11h ago
Alright, I've looked at your screenshots and, the only thing I can say is that your Distant Horizon installation is working as intended. Working as intended as in everything is running with all settings on default.
Puhpine
Puhpineā€¢11h ago
then commands are not implemented in the plugin version yet
shaurya
shauryaOPā€¢11h ago
Yup even the /pregen command is not working
Puhpine
Puhpineā€¢11h ago
dh doesnt have a /pregen command only a /dh pregen command
shaurya
shauryaOPā€¢11h ago
yeh that only
hardester
hardesterā€¢11h ago
Best you can do is leave everything to work itself out overtime.
shaurya
shauryaOPā€¢11h ago
uhh Ok , it worked suddenly for a sec and crashed the entire server it auto restarted
hardester
hardesterā€¢11h ago
Maybe Paper's protective measure?
hardester
hardesterā€¢11h ago
Also, what server are you using? Aternos? VPS? Self-hosted?
shaurya
shauryaOPā€¢11h ago
Yeh i have paper VPS Ryzen 7 5800X
hardester
hardesterā€¢11h ago
Interesting. Dedicated Minecraft instance or general-purposed VPS?
shaurya
shauryaOPā€¢11h ago
I mean i got acess to all threads of the server I mean of a single cpu so u can guess
hardester
hardesterā€¢11h ago
You set up Minecraft the server or the server provider set it up for you?
shaurya
shauryaOPā€¢11h ago
Well, server provided Exit code: 137
hardester
hardesterā€¢11h ago
Man, good thing you can't skip stories in Genshin Impact. I can just look into Discord while waiting for the yapping to finish off. Java exit code or process exit code?
shaurya
shauryaOPā€¢11h ago
lol Out of memory, now i figured it out
hardester
hardesterā€¢11h ago
If process, then that means something bad happened.
shaurya
shauryaOPā€¢11h ago
Great Any way to limit memoney usage ? i allocated 4.2 to server
hardester
hardesterā€¢11h ago
Well, easiest solution is to lower CPU Load preset in DH setting.
shaurya
shauryaOPā€¢11h ago
The cpu is not evening going hald till it crash i mean if i use agressive or blanced dosent matter, it crashes after same time
hardester
hardesterā€¢11h ago
Set it to minimal then.
shaurya
shauryaOPā€¢11h ago
Lets try that also Do quality preset affect it ? the memeoy
hardester
hardesterā€¢11h ago
That one's for the client. Fat-fingered the enter key. I hate this keyboard my brother bought.
shaurya
shauryaOPā€¢11h ago
SO server always do ? whcih preset ?
hardester
hardesterā€¢11h ago
Server always do highest quality.
shaurya
shauryaOPā€¢11h ago
lol extreme "-"
hardester
hardesterā€¢11h ago
I would assume the LOD data is mostly on the disk rather than always in-memory.
shaurya
shauryaOPā€¢11h ago
i also think so
hardester
hardesterā€¢11h ago
Server uses a different strategy than clients, unless someone familiar with servers can correct me on that.
shaurya
shauryaOPā€¢11h ago
Thing thing just crashing again and again
shaurya
shauryaOPā€¢11h ago
No description
shaurya
shauryaOPā€¢11h ago
@Puhpine (GMT +2) , ur last hope i guess Otherwise only james can help em me*
Puhpine
Puhpineā€¢11h ago
you set the threadPreset to minimal and it still happens? by editing the config file? because only setting it to minimal on the client is not enough
shaurya
shauryaOPā€¢11h ago
In client or srever config ? Oh scheduler_threads: 4
Puhpine
Puhpineā€¢11h ago
server config
shaurya
shauryaOPā€¢11h ago
this ?
Puhpine
Puhpineā€¢11h ago
im not sure
shaurya
shauryaOPā€¢11h ago
i got 12 threads "-", in server Uh rip
Puhpine
Puhpineā€¢11h ago
try looking for something on the lines of world gen threads just send the whole file here
shaurya
shauryaOPā€¢11h ago
Im an idiot
Puhpine
Puhpineā€¢11h ago
but yea its probably schedular threads by the looks of things
hardester
hardesterā€¢11h ago
Also would've been best if all those were put into a code block.
something like this.
something like this.
shaurya
shauryaOPā€¢11h ago
shaurya
shauryaOPā€¢11h ago
I alredy said, i am an idiot maybe this # Number of parallel LOD requests per client. # Required. # Default: 20 full_data_request_concurrency_limit: 20 ?
hardester
hardesterā€¢11h ago
No need to be self-depreciating. We all learn new things.
shaurya
shauryaOPā€¢11h ago
šŸ‘ šŸ„²
hardester
hardesterā€¢11h ago
code block is triple backticks. ``` something like this. ```
shaurya
shauryaOPā€¢11h ago
k Ty
Sup
Sup
Oh coo cool*
hardester
hardesterā€¢11h ago
Interesting. So the plugin version only have 1 type of threading setting. Guess that's the option to change.
shaurya
shauryaOPā€¢11h ago
Is it okay to ping JAMES šŸ˜…
hardester
hardesterā€¢11h ago
Set it down to 1 for scheduler_thread I guess.
shaurya
shauryaOPā€¢10h ago
Hmm what do scheduler means in this
hardester
hardesterā€¢10h ago
Nope. James don't work on the plugin version. Jckf if you need more help.
shaurya
shauryaOPā€¢10h ago
As far as i have saw, 8 threads work compltely fine with even 3 gb memoney on personal world Oh
hardester
hardesterā€¢10h ago
Like I said, I don't do servers.
shaurya
shauryaOPā€¢10h ago
THis ?
hardester
hardesterā€¢10h ago
Again, servers are different than clients.
shaurya
shauryaOPā€¢10h ago
@Puhpine (GMT +2) , finished analysing the file ? šŸ˜… So you mean server downgraded "-" the memory efficiency
Puhpine
Puhpineā€¢10h ago
just try to lower the schedular theads config option untill it stops crashing
hardester
hardesterā€¢10h ago
I have no idea. Probably because you didn't give enough memory to the server to begin with.
shaurya
shauryaOPā€¢10h ago
Uh, 4 gigs is not wnough šŸ˜¦
Puhpine
Puhpineā€¢10h ago
its not great with DH installed no
hardester
hardesterā€¢10h ago
How much memory does your VPS have in total?
Puhpine
Puhpineā€¢10h ago
especially not if youre also running world gen on the side
shaurya
shauryaOPā€¢10h ago
I just want world gen running when idle not when i play Ok brilliant, now lods are invisible With 1 thread the server is working with 2 gigs occupied more then 2
Puhpine
Puhpineā€¢10h ago
you can go afk for a while and wait for everything to load, then turn distant generation off when its done
shaurya
shauryaOPā€¢10h ago
Thats what i am plaing to do This @Puhpine (GMT +2) also this
Puhpine
Puhpineā€¢10h ago
itll probably take longer for stuff to load not that it only has one thread
shaurya
shauryaOPā€¢10h ago
Nah, not even singlel lod is loading also, it is much more efficient to just move around then to use single thread
shaurya
shauryaOPā€¢10h ago
This
No description
hardester
hardesterā€¢10h ago
I mean, you are only giving the server 1 thread to do everything; LOD gen, world gen, LOD updating, LOD submission and all...
shaurya
shauryaOPā€¢10h ago
If i do more it crash brilliant wahts the point of having 16 htreads "-" šŸ˜¦
hardester
hardesterā€¢10h ago
How much memory does your server have? Surely it doesn't have like 4 GB in total...
shaurya
shauryaOPā€¢10h ago
I can go 8, but i need to pay a bit more for taht
hardester
hardesterā€¢10h ago
Right, VPS.
shaurya
shauryaOPā€¢10h ago
yes , its got 4.5 in total
hardester
hardesterā€¢10h ago
In that case, then yeah you underspec-ed your server.
shaurya
shauryaOPā€¢10h ago
why this now
hardester
hardesterā€¢10h ago
LOD uploading taking a while because it's busy doing terrain gen perhaps? In any case, before I start spewing nonsense, I'm leaving this for people more familiar with server-side to help you. Good luck.
shaurya
shauryaOPā€¢10h ago
Lets see @Puhpine (GMT +2) Got a thing for this ? Ok looks like the cpu is pretty darn good 64*64 is alredy complete with single thead while we yapping
Puhpine
Puhpineā€¢10h ago
what do you want to show? looks like its working
shaurya
shauryaOPā€¢10h ago
Lods werent showing I had to restart the cleints client*
Puhpine
Puhpineā€¢10h ago
weird, but im not sure what the reason could be
hardester
hardesterā€¢10h ago
Perhaps I can have the server running on the same system as the client just to test things out...
EXCEPTION_ACCESS_VIOLATION
EXCEPTION_ACCESS_VIOLATION
hardester
hardesterā€¢9h ago
Somehow the GPU driver crashed, when the only mods I have on the client is Distant Horizons? Peculiar... AMD driver version 24.3.1 might be old by now. Will update that now.
shaurya
shauryaOPā€¢8h ago
Nice @Puhpine (GMT +2) So i just swited from plugin to nightly and it is easily using all my cores "-" Moral of the story :- use plugin only if u have double the ram of no of threads
hardester
hardesterā€¢8h ago
So apparently installing Sodium solves this issue... That or it's actually Fabric API. Didn't bother to investigate, but the plugin version seems to work just fine on my end.
shaurya
shauryaOPā€¢8h ago
My issue is also solved just use fabirc done i am now easily using all cores with 4 gigs on ram its not even using 4 gigs now
shaurya
shauryaOPā€¢8h ago
No description
hardester
hardesterā€¢8h ago
Is it possible that you're using the so-called "optimized for server" launch args?
shaurya
shauryaOPā€¢8h ago
I just downloaded latest nightly IDk what is that though ?
hardester
hardesterā€¢8h ago
How are you launching Paper?
shaurya
shauryaOPā€¢8h ago
šŸ˜… now what
hardester
hardesterā€¢8h ago
What commands you're using?
shaurya
shauryaOPā€¢8h ago
I am not launching paper i just resisntalled entire server on fabric šŸ˜Ž
hardester
hardesterā€¢8h ago
Guess I'll never know.
shaurya
shauryaOPā€¢8h ago
what ?
hardester
hardesterā€¢8h ago
In any case, I got Paper working on my side.
shaurya
shauryaOPā€¢8h ago
acutally, i also have paper ij just got myself another server to test fabric on what did you wanted to knoww ?
shaurya
shauryaOPā€¢8h ago
No description
shaurya
shauryaOPā€¢8h ago
right paper, left fabric ( with dh running )

Did you find this page helpful?