Server not shutting down issue returning.

In testing the latest nightly build, I've encountered the same server refusing to shut down issue that was fixed with commit 82e0cfe0. Aside from quickly starting up and shutting down the server, I've always been testing pre-generation every time I've launched the server, and even when it only ran for 30 minutes and didn't come near maximum usage for any component I still encountered the issue. Not saying it is the cause but that is at least a constant in my testing. This issue wasn't present using commit bc475373, and I do not recall if it was an issue using commit 8f7823a4, but it is definitely an issue using commit 521bcdcc as I am currently. Here is the spark profile that was running on the server for server specs and a modlist: https://spark.lucko.me/wpFw28ipz4
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
No description
No description
No description
62 Replies
arctichydra
arctichydra2mo ago
I too have this issue.
BackSun
BackSun2mo ago
Unable to reproduce with the latest nightly build.
Stewi
Stewi2mo ago
I'm not able to reproduce in the development environment, but I have been having the issue on a live server I have - I might try investigate when I get home.
пшш
пшш2mo ago
No description
Stewi
Stewi2mo ago
There's a 30 minute expiry for spark profiles IIRC
Jaxpo
JaxpoOP2mo ago
Was unable to reproduce, at least with the same frequency, after updating to the newest build Will be running longer testing
Stewi
Stewi2mo ago
Can you send a log from when you were able to reproduce the issue - the spark link expired? I think it's not Distant Horizons, or perhaps it's some kind of interaction between mods.
Jaxpo
JaxpoOP2mo ago
I believe this should be the log from the one I posted to start the thread
Jaxpo
JaxpoOP2mo ago
Actually that isn't the one I posted, but it should be the same issue
Jaxpo
JaxpoOP2mo ago
And I can still access the spark profile from the link so I've attached more info from that as well as a simple modlist from my mods folder
Stewi
Stewi2mo ago
I haven't got around to debugging it, but removing c2me (neoforge version) seems to have resolved it for me.
shaurya
shaurya2mo ago
I am having same problem [14:00:22] [Server thread/INFO]: Closed DhWorld of type [SERVER_ONLY]. [14:00:22] [Server thread/INFO]: Closing all [0] database connections...
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Stewi
Stewi2mo ago
@shaurya @KaiSiege @Jaxpo are any of you able to test with less mods until you know which combination of mods is causing the issue?
Jaxpo
JaxpoOP2mo ago
I’ve fully reset everything, moved to the latest build and have not encountered the issue since
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Stewi
Stewi2mo ago
How many mods did you have?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Stewi
Stewi2mo ago
Oh, that's probably the smallest modlist I've seen reproducing the issue so far. Can you send the log?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Stewi
Stewi2mo ago
Hmm, but you say it's fixed itself.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Stewi
Stewi2mo ago
Yea
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Stewi
Stewi2mo ago
I am feeling a bit more confident that this is caused by DH, as it seems to be happening in quite a few different environments and it seems like DH is the only thing in common. I will try to find some time to debug as I'm reproducing the issue locally again.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Stewi
Stewi2mo ago
To be clear I'm not a DH dev, and any fix I make for this bug will probably have to wait until after the next release until it's merged into DH.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Stewi
Stewi2mo ago
I think it's fairly safe to close it - however I would err on the side of still giving it a minute before doing so.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
shaurya
shaurya2mo ago
I know alredy what causes it Its either only DH or C2me with DH cause, this only happens after we do /dh pregen
Stewi
Stewi2mo ago
It happens without c2me for me. It also happens without using pregen.
shaurya
shaurya2mo ago
Sometimes It never happend after i generated a very large radius So i guess, it happens only when the world generator at least generate a single lod And since i alredy generated a very large radius it don't happen anymore until anyone goes tooo far
Stewi
Stewi2mo ago
Yes I think that's probably the important thing to look into. Confirm that it only happens after significant writing has been made to the DB. What would be interesting to see, is if I remove FullDataV1 and SQLite entirely from my datastore branch, if the problem persists or not.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
shaurya
shaurya2mo ago
yup i said that alredy here
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
BackSun
BackSun2mo ago
I have been unable to reproduce DH preventing the server from shutting down. If anyone can find a consistent way of reproducing the problem with just DH, let me know.
Naoko
Naoko2mo ago
are you running reterraforged by chance?
shaurya
shaurya2mo ago
Will see, For me it was when i sued DH with c2me and did dh pregen 128 after that triend to close
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Jaxpo
JaxpoOP2mo ago
I ran into this issue again and I have 625 chunks pre-genned with DH. Not using C2ME Still need to look into re-producing since I'm not quite sure what changed I did move to the latest build 246e77cc Also all of the other mods in my modpack are now updated
shaurya
shaurya2mo ago
Mine seems to be fixed
Bribri_
Bribri_2mo ago
Hello, In order to reproduce the problem, a client with DH needs to connect, then the player needs to move around a bit to generate terrain. Wait a little while for DH to process all of that and then disconnect. Afterwards, you need to wait 60 seconds for the server to pause and finally stop it.
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Pigeon
Pigeon4w ago
got this issue again and it's pretty annoying. Any way to fix this? if it's a bug, when will it get fixed?
BackSun
BackSun4w ago
I just pusehd a potential fix. Try using the latest nightly build. If there still appears to be a memory leak, try shutting down the server before it crashes and send me the log, I added logging to track leaks.
Bribri_
Bribri_4w ago
Performance-wise, it's much better, no more memory leaks, lower CPU usage, and fewer error messages. However, it still gets stuck when closing the server.
shaurya
shaurya4w ago
ok, the performance it Very good, but i am getting bombarded with logs /:
AngelOfCreation
When was this version released? I downloaded the nightly a couple days ago and I'm still experiencing memory leaks.
majo24
majo244w ago
The build exists since yesterday, so try reinstalling the nightly from https://discord.com/channels/881614130614767666/882038774861819954
AngelOfCreation
Just did. Still having memory leaks rip.
Bribri_
Bribri_4w ago
On my end, memory consumption has become stable.
AngelOfCreation
It crashes when I quit the game.
majo24
majo244w ago
Thats quite a lot of mods. Does it also happen with only DH?
AngelOfCreation
Not sure. It doesn't happen with 2.2 though.
пшш
пшш4w ago
Should be fixed with next build
shaurya
shaurya4w ago
The logs right?
пшш
пшш4w ago
server not shutting down
Bribri_
Bribri_3w ago
In my latest tests with build a0a9151b, the server shuts down correctly !! 😁

Did you find this page helpful?