Skip to content

"docker stop factorio" does not allow enough time for large saves to properly save progress #599

Description

@rhwas

I have a large save file (~50 MB) and when running the command "docker stop factorio", the save data is not properly saved. (see docker logs below)

Even adding a timeout does not solve the problem (docker stop -t 120 factorio) and actually does not seem to wait 120seconds at all. The only result is a new MainServer.tmp.zip in the ./saves folder which is not complete.

"""
668.651 Received SIGTERM, shutting down
668.651 Quitting: signal.
668.651 Info MainLoop.cpp:437: Saving map as /factorio/saves/MainServer.zip
668.896 Info MainLoop.cpp:448: Saving progress: 0.003471%
669.896 Info MainLoop.cpp:448: Saving progress: 55.381626%
Session terminated, killing shell... ...killed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions