[0.17.50] Game locks w/ black screen, 100% cpu after 3 autosaves
Posted: Thu Jun 20, 2019 11:32 pm
I run a headless server on my lan via a container. A few days ago, seemingly idle, the server jumped from about 40% cpu usage for the factorio process to 100% and attempting to connect causes my mac client to also consume 100% cpu after the mp save and catch up, never un-blacking the screen and forcing the application to be Force Quit. I can restart off an old save (_autosave1.zip from June 18) and it will run for about 3 autosaves before getting into some sort of fast busy loop. I can't tell if the act of autosaving is locking it or there's some internal, maybe time-based condition that it hits.
Here's the pattern of saves where I loaded _autosave1.zip a little after 2am, it ran for 3 autosaves worth then crashed before or during writing _autosave5.zip
build@factorio:~/factorio$ ls -al saves
total 517912
drwxrwxr-x 2 build build 4096 Jun 20 02:34 .
drwxrwxr-x 7 build build 4096 Jun 20 01:50 ..
-rw-r--r-- 1 build build 105961684 Jun 18 07:36 _autosave1.zip
-rw-r--r-- 1 root root 102517447 Jun 20 02:14 _autosave2.zip
-rw-r--r-- 1 root root 105931563 Jun 20 02:24 _autosave3.zip
-rw-r--r-- 1 root root 103397003 Jun 20 02:34 _autosave4.zip
-rw-r--r-- 1 build build 111232919 Jun 18 07:26 _autosave5.zip
-rw-r--r-- 1 build build 1258501 Feb 19 2017 save.zip
(I'd chowned everything to the build user earlier from my host mount but the container is happily writing over those files as root, so I don't think the change of ownership is related)
I'm running the same save locally on my mac to remove the multiplayer and docker container from the equation. It ran (from the 0.17.50.zip) through 3 autosaves (about 15m) before locking up:
(from my mac, standalone with saved game)
-rw-r--r-- 1 lamont staff 106671567 Jun 20 01:48 0.17.50.zip
-rw-r--r-- 1 lamont staff 105961684 Jun 20 01:59 factorio_earlysave.zip
-rw-r--r-- 1 lamont staff 119452924 Jun 20 16:04 _autosave2.zip
-rw-r--r-- 1 lamont staff 112883123 Jun 20 16:09 _autosave3.zip
-rw-r--r-- 1 lamont staff 115530324 Jun 20 16:14 _autosave1.zip
The internal game time is 823 days, or 19883:40:00 on the play time clock at the start of the save and locks up at 19884:06:28
Below are the dropbox links to
the 3 autosave files from the mac lockup: https://www.dropbox.com/s/erokv1claupc9 ... ar.gz?dl=0
the mods directory: https://www.dropbox.com/s/wp1qn6xe1anpz ... ar.gz?dl=0
I've directly attached the factorio-current.log but it does not appear to be helpful.
I love this game and have nursed my poor stranded engineer for 823 days ever since the 0.14 days, I'd be sad to lose him and his planet. But we've had a good run.
Here's the pattern of saves where I loaded _autosave1.zip a little after 2am, it ran for 3 autosaves worth then crashed before or during writing _autosave5.zip
build@factorio:~/factorio$ ls -al saves
total 517912
drwxrwxr-x 2 build build 4096 Jun 20 02:34 .
drwxrwxr-x 7 build build 4096 Jun 20 01:50 ..
-rw-r--r-- 1 build build 105961684 Jun 18 07:36 _autosave1.zip
-rw-r--r-- 1 root root 102517447 Jun 20 02:14 _autosave2.zip
-rw-r--r-- 1 root root 105931563 Jun 20 02:24 _autosave3.zip
-rw-r--r-- 1 root root 103397003 Jun 20 02:34 _autosave4.zip
-rw-r--r-- 1 build build 111232919 Jun 18 07:26 _autosave5.zip
-rw-r--r-- 1 build build 1258501 Feb 19 2017 save.zip
(I'd chowned everything to the build user earlier from my host mount but the container is happily writing over those files as root, so I don't think the change of ownership is related)
I'm running the same save locally on my mac to remove the multiplayer and docker container from the equation. It ran (from the 0.17.50.zip) through 3 autosaves (about 15m) before locking up:
(from my mac, standalone with saved game)
-rw-r--r-- 1 lamont staff 106671567 Jun 20 01:48 0.17.50.zip
-rw-r--r-- 1 lamont staff 105961684 Jun 20 01:59 factorio_earlysave.zip
-rw-r--r-- 1 lamont staff 119452924 Jun 20 16:04 _autosave2.zip
-rw-r--r-- 1 lamont staff 112883123 Jun 20 16:09 _autosave3.zip
-rw-r--r-- 1 lamont staff 115530324 Jun 20 16:14 _autosave1.zip
The internal game time is 823 days, or 19883:40:00 on the play time clock at the start of the save and locks up at 19884:06:28
Below are the dropbox links to
the 3 autosave files from the mac lockup: https://www.dropbox.com/s/erokv1claupc9 ... ar.gz?dl=0
the mods directory: https://www.dropbox.com/s/wp1qn6xe1anpz ... ar.gz?dl=0
I've directly attached the factorio-current.log but it does not appear to be helpful.
I love this game and have nursed my poor stranded engineer for 823 days ever since the 0.14 days, I'd be sad to lose him and his planet. But we've had a good run.