ctrl+c while ms starting closes msh but not ms
gekigek99 opened this issue ยท 1 comments
gekigek99 commented
Current Behavior (๐ Bug)
in title
Expected Behavior
options:
- wait ms to startup then stop it
- kill ms instantly
Steps to Reproduce
press ctrl+c while server is starting (allowsuspend set to true (don't know if it's related))
MSH Logs
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ _ __ ___ ___| |__ โ
โ | '_ ` _ \/ __| '_ \ โ
โ | | | | | \__ \ | | | v2.4.9 โ
โ |_| |_| |_|___/_| |_| ------- โ
โ Copyright (C) 2019-2022 gekigek99 โ
โ github: https://github.com/gekigek99 โ
โ remember to give a star to this repository! โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2022/12/01 01:25:06 [info โก ] checking OS support...
2022/12/01 01:25:07 [info โก ] loading config...
2022/12/01 01:25:07 [info โก ] reading config file: "C:\minecraft-server-hibernation\msh\msh-config.json"
2022/12/01 01:25:07 [info โก ] msh instance file exists
2022/12/01 01:25:07 [info โก ] msh instance loaded is healthy
2022/12/01 01:25:07 [info โกโกโกโก] setting log level to: 3
2022/12/01 01:25:07 [info โกโกโก ] eula.txt exist and is set to true
2022/12/01 01:25:07 [info โก ] msh proxy setup: 0.0.0.0:25555 --> 127.0.0.1:25565
2022/12/01 01:25:07 [info โก ] sending api2 request
2022/12/01 01:25:07 [info โก ] segment reset
2022/12/01 01:25:07 [info โกโกโก ] minecraft server will now pre-warm (SuspendAllow is enabled)...
2022/12/01 01:25:07 [info โก ] warming minecraft server...
2022/12/01 01:25:07 [info โก ] scheduling ms soft freeze in 30 seconds
2022/12/01 01:25:07 [info โก ] terminal started
2022/12/01 01:25:07 [info โกโกโก ] MINECRAFT SERVER IS STARTING!
2022/12/01 01:25:07 [info โก ] suspension refresher is starting
2022/12/01 01:25:07 [info โกโกโก ] listening for new clients to connect on 0.0.0.0:25555 ...
2022/12/01 01:25:07 [info โก ] reading api2 response
2022/12/01 01:25:07 [warn โกโกโกโก] sgmMgr: msh (v2.4.9) is running a dev release [01f000]
2022/12/01 01:25:07 [serv โกโก ] Starting net.minecraft.server.Main
2022/12/01 01:25:12 [serv โกโก ] [01:25:12] [ServerMain/INFO]: Building unoptimized datafixer
2022/12/01 01:25:13 [warn โกโกโก ] GetInput: stdin unavailable, exiting input goroutine [07f101]
2022/12/01 01:25:13 [info โก ] executing ms force freeze...
2022/12/01 01:25:13 [info โก ] resuming proc tree (pid: [15164 8452])
2022/12/01 01:25:13 [info โกโกโก ] EXECUTED PROCESS TREE RESUME!
2022/12/01 01:25:13 [error โกโก ] MshMgr: FreezeMS: ResumeStopMS: Execute: checkMSRunning: minecraft server not online [00f201]
2022/12/01 01:25:13 [info โก ] sending api2 request
2022/12/01 01:25:13 [serv โกโก ] [01:25:13] [ServerMain/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
2022/12/01 01:25:14 [info โก ] stop command does not seem to be stopping minecraft server during forceful shutdown
2022/12/01 01:25:14 [info โกโกโกโก] exiting msh
and a detached ms keeps running
MSH-Version
2.4.9
Operating system
win 10
Minecraft Version
1.19.2
Minecraft Server Software
vanilla
Is there an existing issue for this?
- I have searched the existing issues before opening this issue.
- I have provided all relevant details.