Page 1 of 1

[2.0.15] Linux headless server crash when saving

Posted: Wed Nov 06, 2024 6:26 am
by plexpt
1756.409 Info AppManager.cpp:290: Saving to _autosave3 (non-blocking).
1756.447 Info AsyncScenarioSaver.cpp:162: Saving process PID: 819534
1771.459 Error ChildProcessAgent.cpp:63: Child 819534 was terminated by signal 9
1771.471 Error Util.cpp:81: Attempting to create notice box in headless mode. Message: 'Saving process crashed.'
1784.157 Info ServerMultiplayerManager.cpp:119: Disconnecting multiplayer connection.
1784.157 Info ServerMultiplayerManager.cpp:803: updateTick(18446744073709551615) changing state from(InGame) to(DisconnectingScheduled)
1784.618 Info ServerMultiplayerManager.cpp:146: Quitting multiplayer connection.
1784.618 Info ServerMultiplayerManager.cpp:803: updateTick(18446744073709551615) changing state from(DisconnectingScheduled) to(Closed)
1784.620 Info HttpSharedState.cpp:55: Downloading https://multiplayer.factorio.com/remove-game/19205067
1785.649 Info UDPSocket.cpp:233: Closing socket
1785.649 Info UDPSocket.cpp:263: Socket closed
1785.649 Info UDPSocket.cpp:233: Closing socket
1787.042 Info UDPSocket.cpp:233: Closing socket
1787.042 Info UDPSocket.cpp:263: Socket closed
1787.044 Goodbye

Re: [2.0.15] Linux headless server crash when saving

Posted: Wed Nov 06, 2024 10:50 am
by Genhis
Thanks for the report. Non-blocking saving is not officially supported and unfortunately this snippet doesn't have any useful information except that the child process was killed.

Re: [2.0.15] Linux headless server crash when saving

Posted: Fri Dec 13, 2024 7:39 am
by heggico
I also have the same issue (Child terminated by signal 9 while saving) and found this post while searching for it. I only ever seen this issue after the 2.0 update (and DLC) Unsure if that's related.

I know its unsupported, and I don't really mind as it happens infrequently. But my main issue is that it leaves a _autosaveX.tmp.zip. Since the server is set to reboot from latest it tries to boot from that corrupted zip, failing and shutting down.

Is there a way to auto-attempt a previous save? Or, ignore a .tmp.zip file?

Only other option seems to be using blocking saves right?