[0.12.33] [Pending] Server Stops Responding
Posted: Sat May 07, 2016 4:06 am
So i have been trying to run the dedicated server for a while now. but i always end up with that the server stops responding on random time intervals ( anything between 10 seconds to 30 minutes before this happens)
i receive no errors, or cant find anything in the logs for a reason for this ( both windows logs and factorio logs)
when i then try to do a save shutdown i get that the server recived the shutdown command but nothing happens after that.
so i know its not allot to go after but something must be wrong with the combination i run my headless server on and the game code ( i guess its one of those hard and rare bugs :/ )
When the server drops / stops responding it does it for everyone even for me who is on the same local network( therefor i can rule out that my internet drops, also i never had any issue on other games when it comes to how i run my server)
i also run version 12.33 from steam on my server and client side
anyway here are my specs :
os: Windows 2012R2 Server ( latest updates ) in Active directory domain ( Physical machine not a vm !)
Core i/-5820k
24gb ddr 4 ram
gpu: gf580
content of start bat : Factorio.exe --start-server activeSave.zip
and here is the last log:
0.001 2016-05-07 05:58:30; Factorio 0.12.33 (Build 18092, win64, steam)
0.001 Operating system: Windows 8.1
0.001 Program arguments: "Factorio.exe" "--start-server" "activeSave.zip"
0.001 Read data path: H:/Steam_Games/factorio/data
0.001 Write data path: C:/Users/administrator.NOBLACKTHUNDER/AppData/Roaming/Factorio
0.002 Binaries path: H:/Steam_Games/factorio/bin
0.030 Running in headless mode
0.036 Loading mod core 0.0.0 (data.lua)
0.042 Loading mod base 0.12.33 (data.lua)
0.170 Checksum for core: 3711505753
0.171 Checksum for mod base: 2829195351
0.635 Factorio initialised
0.636 Info Router.cpp:509: Router peerID(65535) shutting down.
0.637 Info Router.cpp:536: Router state -> Disconnected
0.637 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
0.638 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
0.639 Loading map C:/Users\administrator.NOBLACKTHUNDER\AppData\Roaming\Factorio\saves\activeSave.zip
0.705 Info Scenario.cpp:124: Map version 0.12.29-0
1.086 Checksum for script C:/Users/administrator.NOBLACKTHUNDER/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 393467729
1.104 Info MultiplayerManager.cpp:282: 0000009AB983EA00, 0000000000000000
1.105 Info WindowsUDPSocket.cpp:73: Opening socket at port (34197)
1.105 Info Router.cpp:536: Router state -> Connected
1.106 Info Synchronizer.cpp:54: NetworkTick(0) initialized Synchronizer local peer(0) latency(6).
1.107 Hosting game at port 34197, peerID 0, session magic 1456
1.107 Info MultiplayerManager.cpp:304: 0000009AB983EA00, 0000009AB983EA00
1.108 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(396001) changing state from(CreatingGame) to(InGame)
1.109 Info NetworkInputHandler.cpp:45: mapTick(396001) networkTick(0) initialized NetworkInputHandler local peer(0).
1.227 Info MultiplayerManager.cpp:1433: Received peer info for peer(0) username(<server>).
1.228 Info MultiplayerManager.cpp:1060: networkTick(6) mapTick(396001) received stateChanged peerID(0) oldState(Ready) newState(CreatingGame)
1.229 Info MultiplayerManager.cpp:1060: networkTick(6) mapTick(396001) received stateChanged peerID(0) oldState(CreatingGame) newState(InGame)
36.993 Connection request from 192.168.1.50:34197
36.994 Info Router.cpp:609: NetworkTick(2152) replying to connectionRequest for address(192.168.1.50:34197).
37.093 Info Router.cpp:761: networkTick(2158) adding peer(1) address(192.168.1.50:34197) sending connectionAccept(true)
37.093 Info Router.cpp:632: networkTick(2158) sending connectionAccept to address(192.168.1.50:34197) connectionRequestID(37694) newPeerID(1)
37.094 Info Synchronizer.cpp:500: networkTick(2158) adding peer(1) success(true).
37.227 Info MultiplayerManager.cpp:1433: Received peer info for peer(0) username(<server>).
37.228 Info MultiplayerManager.cpp:1060: networkTick(2164) mapTick(396009) received stateChanged peerID(0) oldState(InGame) newState(InGame)
37.229 Info MultiplayerManager.cpp:1433: Received peer info for peer(1) username(NBT).
37.230 Info MultiplayerManager.cpp:1060: networkTick(2164) mapTick(396009) received stateChanged peerID(1) oldState(Ready) newState(Connecting)
37.231 Info NetworkInputHandler.cpp:520: expectedMapTick(396009) adding peer(1).
37.232 Info MultiplayerManager.cpp:1433: Received peer info for peer(1) username(NBT).
37.233 Info MultiplayerManager.cpp:1060: networkTick(2164) mapTick(396009) received stateChanged peerID(1) oldState(Connecting) newState(Connecting)
37.234 Info MultiplayerManager.cpp:1060: networkTick(2164) mapTick(396009) received stateChanged peerID(1) oldState(Connecting) newState(VerifyingConnection)
37.443 Info MultiplayerManager.cpp:1060: networkTick(2177) mapTick(396010) received stateChanged peerID(1) oldState(VerifyingConnection) newState(ConnectedWaitingForMap)
37.444 Info MultiplayerManager.cpp:913: networkTick(2177) mapTick(396010) changing state from(InGame) to(InGameAligning)
37.445 Info MultiplayerManager.cpp:1719: networkTick(2177) mapTick(396010) starting mapAlign
37.542 Info MultiplayerManager.cpp:1060: networkTick(2183) mapTick(396010) received stateChanged peerID(0) oldState(InGame) newState(InGameAligning)
37.543 Info MultiplayerManager.cpp:1653: networkTick(2183) mapTick(396010) sending mapAlignAction
37.643 Info MultiplayerManager.cpp:1307: networkTick(2189) mapTick(396010) received MapAlignAction from peer(0), mapAlignTick(396011) appliedTickClosuresCount(0)
37.644 Info MultiplayerManager.cpp:1735: networkTick(2190) mapTick(396010) mapAlign finished targetTick(396011) updating map and running the tasks ...
37.645 Info MultiplayerManager.cpp:1607: networkTick(2190) mapTick(396010) peerID(0) fullStateLog: local state(InGameAligning) local peers(((peerID(0) state(InGameAligning) mapAlignTick(396011))
((peerID(1) state(ConnectedWaitingForMap) mapAlignTick(-1))
)
37.648 Info MultiplayerManager.cpp:1754: maptick(396011) crc before applying all ticks: 1746114933
37.649 Info NetworkInputHandler.cpp:661: applyAllTickClosures: expectedMapTick(396011) lastTickApplied(396002) referenceMapTick(396011) networkTick(2190)
37.650 Info MultiplayerManager.cpp:1762: maptick(396011) crc after applying all ticks: 1746114933
37.651 Info MultiplayerManager.cpp:913: networkTick(2190) mapTick(396011) changing state from(InGameAligning) to(InGameAligned)
37.652 Info MultiplayerManager.cpp:913: networkTick(2190) mapTick(396011) changing state from(InGameAligned) to(InGameSavingMap)
37.759 Info MultiplayerManager.cpp:1060: networkTick(2196) mapTick(396011) received stateChanged peerID(0) oldState(InGameAligning) newState(InGameAligned)
37.760 Info MultiplayerManager.cpp:1060: networkTick(2196) mapTick(396011) received stateChanged peerID(0) oldState(InGameAligned) newState(InGameSavingMap)
38.160 Info MultiplayerManager.cpp:913: networkTick(2221) mapTick(396011) changing state from(InGameSavingMap) to(InGameSendingMap)
38.191 Info MultiplayerManager.cpp:1177: MapTick(396011) Serving map(C) for peer(1) size(2573897) crc(-1088523440)
38.276 Info MultiplayerManager.cpp:1060: networkTick(2227) mapTick(396011) received stateChanged peerID(0) oldState(InGameSavingMap) newState(InGameSendingMap)
38.376 Info MultiplayerManager.cpp:1060: networkTick(2233) mapTick(396011) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
38.476 Info MultiplayerManager.cpp:1060: networkTick(2239) mapTick(396011) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
38.477 Canceling serving for peer 1
38.478 Info MultiplayerManager.cpp:913: networkTick(2239) mapTick(396011) changing state from(InGameSendingMap) to(InGameWaitingForOthers)
38.577 Info MultiplayerManager.cpp:1060: networkTick(2245) mapTick(396011) received stateChanged peerID(0) oldState(InGameSendingMap) newState(InGameWaitingForOthers)
38.843 Info MultiplayerManager.cpp:1060: networkTick(2261) mapTick(396011) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(InGameWaitingForOthers)
38.844 Info MultiplayerManager.cpp:1259: networkTick(2261) mapTick(396011) stopping mapAlign
38.845 Info MultiplayerManager.cpp:913: networkTick(2261) mapTick(396011) changing state from(InGameWaitingForOthers) to(InGame)
38.846 Info MultiplayerManager.cpp:1607: networkTick(2261) mapTick(396011) peerID(0) fullStateLog: local state(InGame) local peers(((peerID(0) state(InGameWaitingForOthers) mapAlignTick(-1))
((peerID(1) state(InGameWaitingForOthers) mapAlignTick(-1))
)
38.942 Info MultiplayerManager.cpp:1060: networkTick(2267) mapTick(396017) received stateChanged peerID(0) oldState(InGameWaitingForOthers) newState(InGame)
38.943 Info MultiplayerManager.cpp:1060: networkTick(2267) mapTick(396017) received stateChanged peerID(1) oldState(InGameWaitingForOthers) newState(InGame)
38.977 Info NetworkInputHandler.cpp:599: assigning playerIndex(1) to peer(1)
38.977 Info GameActionHandler.cpp:1949: MapTick(396020) processed PlayerJoinGame peerID(1) playerIndex(1) mode(connect)
400.073 Received SIGINT, shutting down
i receive no errors, or cant find anything in the logs for a reason for this ( both windows logs and factorio logs)
when i then try to do a save shutdown i get that the server recived the shutdown command but nothing happens after that.
so i know its not allot to go after but something must be wrong with the combination i run my headless server on and the game code ( i guess its one of those hard and rare bugs :/ )
When the server drops / stops responding it does it for everyone even for me who is on the same local network( therefor i can rule out that my internet drops, also i never had any issue on other games when it comes to how i run my server)
i also run version 12.33 from steam on my server and client side
anyway here are my specs :
os: Windows 2012R2 Server ( latest updates ) in Active directory domain ( Physical machine not a vm !)
Core i/-5820k
24gb ddr 4 ram
gpu: gf580
content of start bat : Factorio.exe --start-server activeSave.zip
and here is the last log:
0.001 2016-05-07 05:58:30; Factorio 0.12.33 (Build 18092, win64, steam)
0.001 Operating system: Windows 8.1
0.001 Program arguments: "Factorio.exe" "--start-server" "activeSave.zip"
0.001 Read data path: H:/Steam_Games/factorio/data
0.001 Write data path: C:/Users/administrator.NOBLACKTHUNDER/AppData/Roaming/Factorio
0.002 Binaries path: H:/Steam_Games/factorio/bin
0.030 Running in headless mode
0.036 Loading mod core 0.0.0 (data.lua)
0.042 Loading mod base 0.12.33 (data.lua)
0.170 Checksum for core: 3711505753
0.171 Checksum for mod base: 2829195351
0.635 Factorio initialised
0.636 Info Router.cpp:509: Router peerID(65535) shutting down.
0.637 Info Router.cpp:536: Router state -> Disconnected
0.637 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
0.638 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
0.639 Loading map C:/Users\administrator.NOBLACKTHUNDER\AppData\Roaming\Factorio\saves\activeSave.zip
0.705 Info Scenario.cpp:124: Map version 0.12.29-0
1.086 Checksum for script C:/Users/administrator.NOBLACKTHUNDER/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 393467729
1.104 Info MultiplayerManager.cpp:282: 0000009AB983EA00, 0000000000000000
1.105 Info WindowsUDPSocket.cpp:73: Opening socket at port (34197)
1.105 Info Router.cpp:536: Router state -> Connected
1.106 Info Synchronizer.cpp:54: NetworkTick(0) initialized Synchronizer local peer(0) latency(6).
1.107 Hosting game at port 34197, peerID 0, session magic 1456
1.107 Info MultiplayerManager.cpp:304: 0000009AB983EA00, 0000009AB983EA00
1.108 Info MultiplayerManager.cpp:913: networkTick(0) mapTick(396001) changing state from(CreatingGame) to(InGame)
1.109 Info NetworkInputHandler.cpp:45: mapTick(396001) networkTick(0) initialized NetworkInputHandler local peer(0).
1.227 Info MultiplayerManager.cpp:1433: Received peer info for peer(0) username(<server>).
1.228 Info MultiplayerManager.cpp:1060: networkTick(6) mapTick(396001) received stateChanged peerID(0) oldState(Ready) newState(CreatingGame)
1.229 Info MultiplayerManager.cpp:1060: networkTick(6) mapTick(396001) received stateChanged peerID(0) oldState(CreatingGame) newState(InGame)
36.993 Connection request from 192.168.1.50:34197
36.994 Info Router.cpp:609: NetworkTick(2152) replying to connectionRequest for address(192.168.1.50:34197).
37.093 Info Router.cpp:761: networkTick(2158) adding peer(1) address(192.168.1.50:34197) sending connectionAccept(true)
37.093 Info Router.cpp:632: networkTick(2158) sending connectionAccept to address(192.168.1.50:34197) connectionRequestID(37694) newPeerID(1)
37.094 Info Synchronizer.cpp:500: networkTick(2158) adding peer(1) success(true).
37.227 Info MultiplayerManager.cpp:1433: Received peer info for peer(0) username(<server>).
37.228 Info MultiplayerManager.cpp:1060: networkTick(2164) mapTick(396009) received stateChanged peerID(0) oldState(InGame) newState(InGame)
37.229 Info MultiplayerManager.cpp:1433: Received peer info for peer(1) username(NBT).
37.230 Info MultiplayerManager.cpp:1060: networkTick(2164) mapTick(396009) received stateChanged peerID(1) oldState(Ready) newState(Connecting)
37.231 Info NetworkInputHandler.cpp:520: expectedMapTick(396009) adding peer(1).
37.232 Info MultiplayerManager.cpp:1433: Received peer info for peer(1) username(NBT).
37.233 Info MultiplayerManager.cpp:1060: networkTick(2164) mapTick(396009) received stateChanged peerID(1) oldState(Connecting) newState(Connecting)
37.234 Info MultiplayerManager.cpp:1060: networkTick(2164) mapTick(396009) received stateChanged peerID(1) oldState(Connecting) newState(VerifyingConnection)
37.443 Info MultiplayerManager.cpp:1060: networkTick(2177) mapTick(396010) received stateChanged peerID(1) oldState(VerifyingConnection) newState(ConnectedWaitingForMap)
37.444 Info MultiplayerManager.cpp:913: networkTick(2177) mapTick(396010) changing state from(InGame) to(InGameAligning)
37.445 Info MultiplayerManager.cpp:1719: networkTick(2177) mapTick(396010) starting mapAlign
37.542 Info MultiplayerManager.cpp:1060: networkTick(2183) mapTick(396010) received stateChanged peerID(0) oldState(InGame) newState(InGameAligning)
37.543 Info MultiplayerManager.cpp:1653: networkTick(2183) mapTick(396010) sending mapAlignAction
37.643 Info MultiplayerManager.cpp:1307: networkTick(2189) mapTick(396010) received MapAlignAction from peer(0), mapAlignTick(396011) appliedTickClosuresCount(0)
37.644 Info MultiplayerManager.cpp:1735: networkTick(2190) mapTick(396010) mapAlign finished targetTick(396011) updating map and running the tasks ...
37.645 Info MultiplayerManager.cpp:1607: networkTick(2190) mapTick(396010) peerID(0) fullStateLog: local state(InGameAligning) local peers(((peerID(0) state(InGameAligning) mapAlignTick(396011))
((peerID(1) state(ConnectedWaitingForMap) mapAlignTick(-1))
)
37.648 Info MultiplayerManager.cpp:1754: maptick(396011) crc before applying all ticks: 1746114933
37.649 Info NetworkInputHandler.cpp:661: applyAllTickClosures: expectedMapTick(396011) lastTickApplied(396002) referenceMapTick(396011) networkTick(2190)
37.650 Info MultiplayerManager.cpp:1762: maptick(396011) crc after applying all ticks: 1746114933
37.651 Info MultiplayerManager.cpp:913: networkTick(2190) mapTick(396011) changing state from(InGameAligning) to(InGameAligned)
37.652 Info MultiplayerManager.cpp:913: networkTick(2190) mapTick(396011) changing state from(InGameAligned) to(InGameSavingMap)
37.759 Info MultiplayerManager.cpp:1060: networkTick(2196) mapTick(396011) received stateChanged peerID(0) oldState(InGameAligning) newState(InGameAligned)
37.760 Info MultiplayerManager.cpp:1060: networkTick(2196) mapTick(396011) received stateChanged peerID(0) oldState(InGameAligned) newState(InGameSavingMap)
38.160 Info MultiplayerManager.cpp:913: networkTick(2221) mapTick(396011) changing state from(InGameSavingMap) to(InGameSendingMap)
38.191 Info MultiplayerManager.cpp:1177: MapTick(396011) Serving map(C) for peer(1) size(2573897) crc(-1088523440)
38.276 Info MultiplayerManager.cpp:1060: networkTick(2227) mapTick(396011) received stateChanged peerID(0) oldState(InGameSavingMap) newState(InGameSendingMap)
38.376 Info MultiplayerManager.cpp:1060: networkTick(2233) mapTick(396011) received stateChanged peerID(1) oldState(ConnectedWaitingForMap) newState(ConnectedDownloadingMap)
38.476 Info MultiplayerManager.cpp:1060: networkTick(2239) mapTick(396011) received stateChanged peerID(1) oldState(ConnectedDownloadingMap) newState(ConnectedLoadingMap)
38.477 Canceling serving for peer 1
38.478 Info MultiplayerManager.cpp:913: networkTick(2239) mapTick(396011) changing state from(InGameSendingMap) to(InGameWaitingForOthers)
38.577 Info MultiplayerManager.cpp:1060: networkTick(2245) mapTick(396011) received stateChanged peerID(0) oldState(InGameSendingMap) newState(InGameWaitingForOthers)
38.843 Info MultiplayerManager.cpp:1060: networkTick(2261) mapTick(396011) received stateChanged peerID(1) oldState(ConnectedLoadingMap) newState(InGameWaitingForOthers)
38.844 Info MultiplayerManager.cpp:1259: networkTick(2261) mapTick(396011) stopping mapAlign
38.845 Info MultiplayerManager.cpp:913: networkTick(2261) mapTick(396011) changing state from(InGameWaitingForOthers) to(InGame)
38.846 Info MultiplayerManager.cpp:1607: networkTick(2261) mapTick(396011) peerID(0) fullStateLog: local state(InGame) local peers(((peerID(0) state(InGameWaitingForOthers) mapAlignTick(-1))
((peerID(1) state(InGameWaitingForOthers) mapAlignTick(-1))
)
38.942 Info MultiplayerManager.cpp:1060: networkTick(2267) mapTick(396017) received stateChanged peerID(0) oldState(InGameWaitingForOthers) newState(InGame)
38.943 Info MultiplayerManager.cpp:1060: networkTick(2267) mapTick(396017) received stateChanged peerID(1) oldState(InGameWaitingForOthers) newState(InGame)
38.977 Info NetworkInputHandler.cpp:599: assigning playerIndex(1) to peer(1)
38.977 Info GameActionHandler.cpp:1949: MapTick(396020) processed PlayerJoinGame peerID(1) playerIndex(1) mode(connect)
400.073 Received SIGINT, shutting down