Headless Server Crash [0.15.28] After High Uptime
Posted: Tue Jul 11, 2017 6:45 am
We've experienced our headless server crash about 4 times now, each time we had to go back to our latest autosave. the server never gets shutdown (unless it crashes) we've got about 160 hours into it.
It feels like after an extended period of time the server will crash.
This is the last part of the logs:
12.940 Info ServerMultiplayerManager.cpp:671: mapTick(43740001) changing state from(InGameSavingMap) to(InGame)
13.024 Info ServerMultiplayerManager.cpp:755: mapTick(43740001) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
19.380 Info ServerMultiplayerManager.cpp:755: mapTick(43740001) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
20.965 Info ServerMultiplayerManager.cpp:755: mapTick(43740095) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
21.598 Info ServerMultiplayerManager.cpp:755: mapTick(43740133) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
21.599 Info GameActionHandler.cpp:3323: MapTick (43740133) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect )
21.710 Info ServerMultiplayerManager.cpp:755: mapTick(43740140) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
68.170 Received SIGINT, shutting down
68.172 Info MainLoop.cpp:315: Saving map as /home/minecraft/factorio/saves/_autosave1.zip
68.377 Info MainLoop.cpp:326: Saving progress: 0.005851%
68.909 Info MainLoop.cpp:326: Saving progress: 100.000000%
69.206 Info ServerMultiplayerManager.cpp:116: Disconnecting multiplayer connection.
69.206 Info ServerMultiplayerManager.cpp:671: mapTick(43742928) changing state from(InGame) to(DisconnectingScheduled)
69.240 Info ServerMultiplayerManager.cpp:671: mapTick(43742928) changing state from(DisconnectingScheduled) to(Disconnecting)
71.181 Info ServerMultiplayerManager.cpp:671: mapTick(43742928) changing state from(Disconnecting) to(Disconnected)
71.181 Info ServerMultiplayerManager.cpp:140: Quitting multiplayer connection.
71.181 Info ServerMultiplayerManager.cpp:671: mapTick(43742928) changing state from(Disconnected) to(Closed)
71.537 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/remove-game/2635846
71.768 Info HttpSharedState.cpp:111: Status code: 200
71.768 Info UDPSocket.cpp:234: Socket closed
71.790 Info UDPSocket.cpp:234: Socket closed
71.801 Goodbye
It feels like after an extended period of time the server will crash.
This is the last part of the logs:
12.940 Info ServerMultiplayerManager.cpp:671: mapTick(43740001) changing state from(InGameSavingMap) to(InGame)
13.024 Info ServerMultiplayerManager.cpp:755: mapTick(43740001) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
19.380 Info ServerMultiplayerManager.cpp:755: mapTick(43740001) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
20.965 Info ServerMultiplayerManager.cpp:755: mapTick(43740095) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(TryingToCatchUp)
21.598 Info ServerMultiplayerManager.cpp:755: mapTick(43740133) received stateChanged peerID(1) oldState(TryingToCatchUp) newState(WaitingForCommandToStartSendingTickClosures)
21.599 Info GameActionHandler.cpp:3323: MapTick (43740133) processed PlayerJoinGame peerID(1) playerIndex(0) mode(connect )
21.710 Info ServerMultiplayerManager.cpp:755: mapTick(43740140) received stateChanged peerID(1) oldState(WaitingForCommandToStartSendingTickClosures) newState(InGame)
68.170 Received SIGINT, shutting down
68.172 Info MainLoop.cpp:315: Saving map as /home/minecraft/factorio/saves/_autosave1.zip
68.377 Info MainLoop.cpp:326: Saving progress: 0.005851%
68.909 Info MainLoop.cpp:326: Saving progress: 100.000000%
69.206 Info ServerMultiplayerManager.cpp:116: Disconnecting multiplayer connection.
69.206 Info ServerMultiplayerManager.cpp:671: mapTick(43742928) changing state from(InGame) to(DisconnectingScheduled)
69.240 Info ServerMultiplayerManager.cpp:671: mapTick(43742928) changing state from(DisconnectingScheduled) to(Disconnecting)
71.181 Info ServerMultiplayerManager.cpp:671: mapTick(43742928) changing state from(Disconnecting) to(Disconnected)
71.181 Info ServerMultiplayerManager.cpp:140: Quitting multiplayer connection.
71.181 Info ServerMultiplayerManager.cpp:671: mapTick(43742928) changing state from(Disconnected) to(Closed)
71.537 Info HttpSharedState.cpp:44: Downloading https://multiplayer.factorio.com/remove-game/2635846
71.768 Info HttpSharedState.cpp:111: Status code: 200
71.768 Info UDPSocket.cpp:234: Socket closed
71.790 Info UDPSocket.cpp:234: Socket closed
71.801 Goodbye