[1.15.2] Mod does not allow server to fully stop.
WindFox opened this issue ยท 19 comments
I added this mod to my server to help out with things and discovered that it will not let the server process to end. If it server crashes, it just sits in a zombie state. If I give it the stop command, it saves and stops what it can, but the server process still continues to run in a zombie state as well.
Either way, I have to kill the server process to allow the server to restart.
I have tested this on a server with just this mod and nothing else and it still acts up.
Sorry, but that'd be a nope on that.
I give the server the stop command and it does all the saving it needs then just sits there until I force kill it.
Ok then please tell me what you are using/how you are running the test. After fixing the issue that produced an error I'm not having any problems.
Well. It's pretty simple.
I just startup the server. then give it the STOP command when it's fully started.
First I used a backup of my public server. And it happened when I told the server to STOP.
Then I took out the mods and world folder, made new ones. Mods folder only contained this mod with nothing else. Again. It just sat there after I gave it the STOP command.
Then I made a new server folder with just this mod and an updated forge (31.1.77 since my pack is on 31.1.41) thinking that maybe it's just forge. Nope.
I am using Java 8. Latest Oracle version on my computer, (I think, latest) OpenJDK on my public server.
Well, this is interesting. Using the updated Forge test, I deleted the world folder and tried again. Also making sure to give you logs and screenshots, when I start getting an error when I give the STOP command.
https://pastebin.com/uhyHxpgx
Sorry about that. Forgot to change that setting.
Also, went back to the older Forge and same error.
I wonder if my older world file had something in it to suppress that error.
Server still doesn't fully stop, though.
Ah that error is the same one I got. Can you try with this version?
crashutilities-2.4.zip
(need to unzip the file ofc)
This is with just CU installed right?
Can you share the script you are using to launch the server?
Also, the serverconfig in case you've changed anything there.
My ServerStart.bat: https://pastebin.com/ZyLfUqxY
(The other server just has the Forge version changed)
My server.properties: https://pastebin.com/cqLVSQUL
(The other server is just the default one that gets generated with a new server.)
Ah. Right. The NEW OTHER config folder.
Here you go: https://pastebin.com/XJVTn957
I haven't touched that file. Only just recently learned about that folder to fix an issue with another mod that was crashing my server.
Alrighty. Launching directly from the jar file doesn't cause the window to stay, which confused me more than it should have. (it produced a hidden ghost process instead -.-).
I'm fairly certain I fixed it now. But please test one last time
crashutilities-2.4.zip