Page 1 of 1

[0.13.6] Headless crash with no explanation

Posted: Sun Jul 10, 2016 2:05 pm
by Haxton Fale
I've been running latest headless on a server of mine and it suddenly started crashing. The server would slow down significantly, and then it would go unresponsive whenever I tried to access anything via SSH. After that, any attempt to load a save automatically kills the game, as it outputs something like this:

Code: Select all

   0.000 2016-07-10 13:53:57; Factorio 0.13.6 (build 23136, linux64, headless)
   0.139 Operating system: Linux (Ubuntu 16.04)
   0.140 Program arguments: "./bin/x64/factorio" "--start-server" "saves/13-5.zip"
   0.140 Read data path: /home/factorio/factorio/data
   0.140 Write data path: /home/factorio/factorio
   0.140 Binaries path: /home/factorio/factorio/bin
   0.159 Running in headless mode
   0.192 Loading mod core 0.0.0 (data.lua)
   0.199 Loading mod base 0.13.6 (data.lua)
   0.343 Loading mod Big_Brother 0.3.0 (data.lua)
   0.440 Loading mod Bergius_Process 0.1.2 (data.lua)
   0.523 Loading mod FARL 0.5.31 (data.lua)
   0.605 Loading mod Big_Brother 0.3.0 (data-updates.lua)
   0.688 Loading mod FARL 0.5.31 (data-updates.lua)
   0.789 Loading mod rso-mod 2.0.9 (data-updates.lua)
   0.865 Loading mod FARL 0.5.31 (data-final-fixes.lua)
   0.941 Checksum for core: 714099156
   0.941 Checksum for mod base: 1855085279
   0.941 Checksum for mod Big_Brother: 180679385
   0.941 Checksum for mod Bergius_Process: 4267996501
   0.942 Checksum for mod clock: 0
   0.942 Checksum for mod FARL: 2299029056
   0.942 Checksum for mod rso-mod: 691269887
   1.428 Custom inputs active: 0
   1.431 Factorio initialised
   1.432 Info Router.cpp:558: Router peerID(65535) shutting down.
   1.432 Info Router.cpp:594: Router state -> Disconnected
   1.437 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(Ready) to(PreparedToHostGame)
   1.437 Info MultiplayerManager.cpp:996: networkTick(0) mapTick(-1) changing state from(PreparedToHostGame) to(CreatingGame)
   1.438 Loading map /home/factorio/factorio/saves/13-5.zip
   1.476 Info Scenario.cpp:127: Map version 0.13.6-0
Killed
Loading the same save locally works just fine. I tried rebooting the server, it didn't help. Neither did updating all the packages.

Re: [0.13.6] Headless crash with no explanation

Posted: Sun Jul 10, 2016 2:18 pm
by prg
Running out of memory? Check dmesg for OOM killer messages.

Re: [0.13.6] Headless crash with no explanation

Posted: Mon Jul 11, 2016 6:39 am
by Haxton Fale
Yep, that's it. The server runs out of RAM.