[1.1.109] Windows process pending when stopped via RCON
Posted: Wed Sep 11, 2024 9:01 pm
Hi,
we noticed that when we stop factorio on windows by sending `/quit` via RCON to the Server then it is not properly closed and a zombieprocess is still there. Furthermore the stdin/stdout in the console is closed correctly and i could run the next command.
When done within WSL the process is stopped correctly and the process finishes in the end.
Windows log (zombieprocess):
WSL (ubuntu) Log (working):
As you can see, somehow after the state was changed to "Closed", there is no further messages and it never calls "Goodbye". The only way to stop the process finally is by killing it in the Task-Manager.
Edit: Full Windows log in attachment.
we noticed that when we stop factorio on windows by sending `/quit` via RCON to the Server then it is not properly closed and a zombieprocess is still there. Furthermore the stdin/stdout in the console is closed correctly and i could run the next command.
When done within WSL the process is stopped correctly and the process finishes in the end.
Windows log (zombieprocess):
Code: Select all
5.173 Quitting: remote-quit.
5.173 Info MainLoop.cpp:446: Saving map as C:\Data\Development\GO\factorio-windows\saves/test3.zip
5.216 Info MainLoop.cpp:457: Saving progress: 0.225225%
5.218 Info MainLoop.cpp:457: Saving progress: 100.000000%
5.239 Info ServerMultiplayerManager.cpp:127: Disconnecting multiplayer connection.
5.239 Info ServerMultiplayerManager.cpp:816: updateTick(1712) changing state from(InGame) to(DisconnectingScheduled)
5.273 Info ServerMultiplayerManager.cpp:816: updateTick(1712) changing state from(DisconnectingScheduled) to(Disconnecting)
5.320 Info ServerMultiplayerManager.cpp:816: updateTick(1712) changing state from(Disconnecting) to(Disconnected)
5.320 Info ServerMultiplayerManager.cpp:154: Quitting multiplayer connection.
5.320 Info ServerMultiplayerManager.cpp:816: updateTick(1712) changing state from(Disconnected) to(Closed)
Code: Select all
14.641 Quitting: remote-quit.
14.641 Info MainLoop.cpp:446: Saving map as /mnt/c/Data/Development/GO/factorio/saves/test3.zip
15.275 Info MainLoop.cpp:457: Saving progress: 0.250000%
15.284 Info MainLoop.cpp:457: Saving progress: 100.000000%
15.303 Info ServerMultiplayerManager.cpp:127: Disconnecting multiplayer connection.
15.303 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(InGame) to(DisconnectingScheduled)
15.337 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(DisconnectingScheduled) to(Disconnecting)
15.370 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(Disconnecting) to(Disconnected)
15.372 Info ServerMultiplayerManager.cpp:154: Quitting multiplayer connection.
15.372 Info ServerMultiplayerManager.cpp:814: updateTick(0) changing state from(Disconnected) to(Closed)
15.729 Info UDPSocket.cpp:233: Closing socket
15.729 Info UDPSocket.cpp:263: Socket closed
15.811 Goodbye
Edit: Full Windows log in attachment.