Unable to set up server side correctly

HELPPPP
137 Replies
shaurya
shauryaOPā€¢3mo 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ā€¢3mo ago
okay and you put the nightly build on the client?
shaurya
shauryaOPā€¢3mo ago
yes i got 2.3.0 i geuess or somethin like that
Puhpine
Puhpineā€¢3mo ago
does f3 say "server has full DH support"?
shaurya
shauryaOPā€¢3mo ago
U_DistantHorizons-fabric-2.3.0-b-dev-1.21.4
shaurya
shauryaOPā€¢3mo ago
No description
shaurya
shauryaOPā€¢3mo ago
i can give u the server ip if that would help ok?
Puhpine
Puhpineā€¢3mo ago
dont send jar files please
shaurya
shauryaOPā€¢3mo ago
That was just for name Sorry anyways "-"
Puhpine
Puhpineā€¢3mo ago
decrease your GUI scale, text is being cut off
shaurya
shauryaOPā€¢3mo ago
here'
No description
shaurya
shauryaOPā€¢3mo ago
ok ?
Puhpine
Puhpineā€¢3mo ago
looks like its working you can see "server has full DH support" on the side
shaurya
shauryaOPā€¢3mo ago
where is it written can't seem to see it It is also nota loading any LODS
Puhpine
Puhpineā€¢3mo ago
its there /slowgen
YAGPDB.xyz
YAGPDB.xyzā€¢3mo 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ā€¢3mo ago
try the second part
shaurya
shauryaOPā€¢3mo ago
wait that works on servers too ohhhh
Puhpine
Puhpineā€¢3mo 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ā€¢3mo ago
No description
shaurya
shauryaOPā€¢3mo 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_ā€¢3mo ago
They're not here just for you yknow Be patient
shaurya
shauryaOPā€¢3mo ago
yehh, ik , i just wanted to use hardesters gif on him
hardester
hardesterā€¢3mo ago
I'm busy playing Genshin Impact.
shaurya
shauryaOPā€¢3mo ago
thats why @Skillnoob_ "-"
hardester
hardesterā€¢3mo 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ā€¢3mo ago
then commands are not implemented in the plugin version yet
shaurya
shauryaOPā€¢3mo ago
Yup even the /pregen command is not working
Puhpine
Puhpineā€¢3mo ago
dh doesnt have a /pregen command only a /dh pregen command
shaurya
shauryaOPā€¢3mo ago
yeh that only
hardester
hardesterā€¢3mo ago
Best you can do is leave everything to work itself out overtime.
shaurya
shauryaOPā€¢3mo ago
uhh Ok , it worked suddenly for a sec and crashed the entire server it auto restarted
hardester
hardesterā€¢3mo ago
Maybe Paper's protective measure?
hardester
hardesterā€¢3mo ago
Also, what server are you using? Aternos? VPS? Self-hosted?
shaurya
shauryaOPā€¢3mo ago
Yeh i have paper VPS Ryzen 7 5800X
hardester
hardesterā€¢3mo ago
Interesting. Dedicated Minecraft instance or general-purposed VPS?
shaurya
shauryaOPā€¢3mo ago
I mean i got acess to all threads of the server I mean of a single cpu so u can guess
hardester
hardesterā€¢3mo ago
You set up Minecraft the server or the server provider set it up for you?
shaurya
shauryaOPā€¢3mo ago
Well, server provided Exit code: 137
hardester
hardesterā€¢3mo 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ā€¢3mo ago
lol Out of memory, now i figured it out
hardester
hardesterā€¢3mo ago
If process, then that means something bad happened.
shaurya
shauryaOPā€¢3mo ago
Great Any way to limit memoney usage ? i allocated 4.2 to server
hardester
hardesterā€¢3mo ago
Well, easiest solution is to lower CPU Load preset in DH setting.
shaurya
shauryaOPā€¢3mo 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ā€¢3mo ago
Set it to minimal then.
shaurya
shauryaOPā€¢3mo ago
Lets try that also Do quality preset affect it ? the memeoy
hardester
hardesterā€¢3mo ago
That one's for the client. Fat-fingered the enter key. I hate this keyboard my brother bought.
shaurya
shauryaOPā€¢3mo ago
SO server always do ? whcih preset ?
hardester
hardesterā€¢3mo ago
Server always do highest quality.
shaurya
shauryaOPā€¢3mo ago
lol extreme "-"
hardester
hardesterā€¢3mo ago
I would assume the LOD data is mostly on the disk rather than always in-memory.
shaurya
shauryaOPā€¢3mo ago
i also think so
hardester
hardesterā€¢3mo ago
Server uses a different strategy than clients, unless someone familiar with servers can correct me on that.
shaurya
shauryaOPā€¢3mo ago
Thing thing just crashing again and again
shaurya
shauryaOPā€¢3mo ago
No description
shaurya
shauryaOPā€¢3mo ago
@Puhpine (GMT +2) , ur last hope i guess Otherwise only james can help em me*
Puhpine
Puhpineā€¢3mo 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ā€¢3mo ago
In client or srever config ? Oh scheduler_threads: 4
Puhpine
Puhpineā€¢3mo ago
server config
shaurya
shauryaOPā€¢3mo ago
this ?
Puhpine
Puhpineā€¢3mo ago
im not sure
shaurya
shauryaOPā€¢3mo ago
i got 12 threads "-", in server Uh rip
Puhpine
Puhpineā€¢3mo ago
try looking for something on the lines of world gen threads just send the whole file here
shaurya
shauryaOPā€¢3mo ago
Im an idiot
Puhpine
Puhpineā€¢3mo ago
but yea its probably schedular threads by the looks of things
hardester
hardesterā€¢3mo ago
Also would've been best if all those were put into a code block.
something like this.
something like this.
shaurya
shauryaOPā€¢3mo ago
shaurya
shauryaOPā€¢3mo 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ā€¢3mo ago
No need to be self-depreciating. We all learn new things.
shaurya
shauryaOPā€¢3mo ago
šŸ‘ šŸ„²
hardester
hardesterā€¢3mo ago
code block is triple backticks. ``` something like this. ```
shaurya
shauryaOPā€¢3mo ago
k Ty
Sup
Sup
Oh coo cool*
hardester
hardesterā€¢3mo ago
Interesting. So the plugin version only have 1 type of threading setting. Guess that's the option to change.
shaurya
shauryaOPā€¢3mo ago
Is it okay to ping JAMES šŸ˜…
hardester
hardesterā€¢3mo ago
Set it down to 1 for scheduler_thread I guess.
shaurya
shauryaOPā€¢3mo ago
Hmm what do scheduler means in this
hardester
hardesterā€¢3mo ago
Nope. James don't work on the plugin version. Jckf if you need more help.
shaurya
shauryaOPā€¢3mo ago
As far as i have saw, 8 threads work compltely fine with even 3 gb memoney on personal world Oh
hardester
hardesterā€¢3mo ago
Like I said, I don't do servers.
shaurya
shauryaOPā€¢3mo ago
THis ?
hardester
hardesterā€¢3mo ago
Again, servers are different than clients.
shaurya
shauryaOPā€¢3mo ago
@Puhpine (GMT +2) , finished analysing the file ? šŸ˜… So you mean server downgraded "-" the memory efficiency
Puhpine
Puhpineā€¢3mo ago
just try to lower the schedular theads config option untill it stops crashing
hardester
hardesterā€¢3mo ago
I have no idea. Probably because you didn't give enough memory to the server to begin with.
shaurya
shauryaOPā€¢3mo ago
Uh, 4 gigs is not wnough šŸ˜¦
Puhpine
Puhpineā€¢3mo ago
its not great with DH installed no
hardester
hardesterā€¢3mo ago
How much memory does your VPS have in total?
Puhpine
Puhpineā€¢3mo ago
especially not if youre also running world gen on the side
shaurya
shauryaOPā€¢3mo 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ā€¢3mo ago
you can go afk for a while and wait for everything to load, then turn distant generation off when its done
shaurya
shauryaOPā€¢3mo ago
Thats what i am plaing to do This @Puhpine (GMT +2) also this
Puhpine
Puhpineā€¢3mo ago
itll probably take longer for stuff to load not that it only has one thread
shaurya
shauryaOPā€¢3mo 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ā€¢3mo ago
This
No description
hardester
hardesterā€¢3mo 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ā€¢3mo ago
If i do more it crash brilliant wahts the point of having 16 htreads "-" šŸ˜¦
hardester
hardesterā€¢3mo ago
How much memory does your server have? Surely it doesn't have like 4 GB in total...
shaurya
shauryaOPā€¢3mo ago
I can go 8, but i need to pay a bit more for taht
hardester
hardesterā€¢3mo ago
Right, VPS.
shaurya
shauryaOPā€¢3mo ago
yes , its got 4.5 in total
hardester
hardesterā€¢3mo ago
In that case, then yeah you underspec-ed your server.
shaurya
shauryaOPā€¢3mo ago
why this now
hardester
hardesterā€¢3mo 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ā€¢3mo 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ā€¢3mo ago
what do you want to show? looks like its working
shaurya
shauryaOPā€¢3mo ago
Lods werent showing I had to restart the cleints client*
Puhpine
Puhpineā€¢3mo ago
weird, but im not sure what the reason could be
hardester
hardesterā€¢3mo 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ā€¢3mo 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ā€¢3mo 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ā€¢3mo 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ā€¢3mo 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ā€¢3mo ago
No description
hardester
hardesterā€¢3mo ago
Is it possible that you're using the so-called "optimized for server" launch args?
shaurya
shauryaOPā€¢3mo ago
I just downloaded latest nightly IDk what is that though ?
hardester
hardesterā€¢3mo ago
How are you launching Paper?
shaurya
shauryaOPā€¢3mo ago
šŸ˜… now what
hardester
hardesterā€¢3mo ago
What commands you're using?
shaurya
shauryaOPā€¢3mo ago
I am not launching paper i just resisntalled entire server on fabric šŸ˜Ž
hardester
hardesterā€¢3mo ago
Guess I'll never know.
shaurya
shauryaOPā€¢3mo ago
what ?
hardester
hardesterā€¢3mo ago
In any case, I got Paper working on my side.
shaurya
shauryaOPā€¢3mo ago
acutally, i also have paper ij just got myself another server to test fabric on what did you wanted to knoww ?
shaurya
shauryaOPā€¢3mo ago
No description
shaurya
shauryaOPā€¢3mo ago
right paper, left fabric ( with dh running )

Did you find this page helpful?