Stopped Pregen but server is still lagging

We stopped pregen on our server at around 70% and even though the server specs are supposedly sufficient, the server still seems to be lagging.
24 Replies
Akaun
AkaunOP4mo ago
We're running DH with around 89 mods and 1-5 players online Server is 6GB ram and is usually around 4/6 and CPU has 3 threads
Miki_P98
Miki_P984mo ago
What generation mode had you used for the pregen? !generators
YAGPDB.xyz
YAGPDB.xyz4mo 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.
Miki_P98
Miki_P984mo ago
FEATURES is default
Akaun
AkaunOP4mo ago
It worked now btw Oh, I didn't choose a specific one But now, I can see things on m yserver and my friends can't How do I check the generator type of the server :c
Miki_P98
Miki_P984mo ago
You can see it in the config file
Akaun
AkaunOP4mo ago
Yeah Just found it It's on features Does this mean changing it to internal server will require pregenerating chunks all over again? Lmao For some reason, I can see the chunks but my friends can't We're hosting on pebblehost
Miki_P98
Miki_P984mo ago
If you are moving around and the generation mode was default FEATURES (no vanilla chunks were saved) the vanilla generation may be what is causing the server to lag
Akaun
AkaunOP4mo ago
Well, the lag actually stopped when I restarted trhe server The only issue now is that I can see LODs but my friends can't They have DH installed and enabled
Miki_P98
Miki_P984mo ago
Ask them if they see Server Has Full DH Support in F3 menu
Akaun
AkaunOP4mo ago
Ah okay one second
Miki_P98
Miki_P984mo ago
Yes, but first delete the LODs as where LODs already are, generation will be skipped !lodstored
YAGPDB.xyz
YAGPDB.xyz4mo ago
Single Player: - Overworld: .minecraft/saves/WORLD_NAME/data/DistantHorizons.sqlite - Nether: .minecraft/saves/WORLD_NAME/DIM-1/data/DistantHorizons.sqlite - End: .minecraft/saves/WORLD_NAME/DIM1/data/DistantHorizons.sqlite - Custom Dimensions: .minecraft/saves/WORLD_NAME/DIMENSION_FOLDER/data/DistantHorizons.sqlite Multiplayer: - .minecraft/Distant_Horizons_server_data/SERVER_NAME/ Server Mod - Overworld: SERVER_FOLDER/world/data/DistantHorizons.sqlite - Nether: SERVER_FOLDER/world/DIM-1/data/DistantHorizons.sqlite - End: SERVER_FOLDER/world/DIM1/data/DistantHorizons.sqlite - Custom Dimensions: SERVER_FOLDER/world/DIMENSION_FOLDER/data/DistantHorizons.sqlite Server Plugin All dimensions in one file: SERVER_FOLDER/plugins/DHSupport/data.sqlite NOTE: Sometimes there might be 2 additional files next to the main one with extensions .sqlite-wal and .sqlite-shm If there are, all 3 should be treated as a single file, a.k.a. moved, deleted, backed-up always together! If you don't, the database will become corrupted.
Akaun
AkaunOP4mo ago
But I really don't wanna restart the generating, it took like 2 days lol Where should it be I don't think it says that anywhere Ah, I checked It doesn't say that Not on my pc nor theirs Could this be because I'm using the nightly version? But doesn't make sense, why would I be able to see things and them not So btw since it's set to features, shoudl we be setting it to features too on our client side?
Miki_P98
Miki_P984mo ago
Doesn’t matter, the setting only works server side, either on a dedicated server or on integrated server when in singleplayer
Akaun
AkaunOP4mo ago
Ah okay Is features fine though? I removed the nightly version from the server
Miki_P98
Miki_P984mo ago
Depends on what you want
Akaun
AkaunOP4mo ago
We want the server to be sending the lod files, isn't that better for performance? But I'll have to regenerate all of these chunks again, super sad Maybe I should switch to internal server and pregen the chunks on my own pc? idk f you are moving around and the generation mode was default FEATURES (no vanilla chunks were saved) the vanilla generation may be what is causing the server to lag I'm moving around now Does this mean the lag is because of features? Sorry if I sound too stupid lol I'm entirely new to DH I'm going to change the generation mode to Internal Server on the server This is the most compatible and will generate structures correctly, # but may cause server/simulation lag. Does this mean it will cause this even while paused?
Skillnoob_
Skillnoob_4mo ago
probably vanilla gen if you want vanilla generation to be faster install c2me
Akaun
AkaunOP4mo ago
Ah, on the server, right? I changed the DH server setting to Internal_Server Do I need to remove the pregened files from before?
Skillnoob_
Skillnoob_4mo ago
if you want the chunks to be saved, yes
Akaun
AkaunOP4mo ago
I'm confused, so I basically have to start an entirely new server with the DH server setting set to Internal_Server, right? And make sure all of the pregenerated files from before (during Features) are deleted Also, does this have anything to do with chunks looking awkward at spawn point? Because I'll have to start pregenerating as soon as I can in this case
Skillnoob_
Skillnoob_4mo ago
no? You only need to delete the LODs
Akaun
AkaunOP4mo ago
Right

Did you find this page helpful?