Page 1 of 1

[SOLVED][0.17.74] Server not starting - Not enough RAM

Posted: Thu Oct 31, 2019 2:57 pm
by nucleargen
Server does not fully start.
runs under non-sudoer user `gamemaster`
using command:

Code: Select all

/home/gamemaster/factorio/bin/x64/factorio --server-settings /home/gamemaster/factorio/data/server-settings.json --start-server-load-latest --console-log /home/gamemaster/Factorio.log --verbose
(trying this before installing service)
Full log in attachment.

last output lines:

Code: Select all

 
  30.334 Factorio initialised
  30.399 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/api-login?api_version=2
  31.909 Info AuthServerConnector.cpp:171: Got token from auth server for username(nucleargen).
  31.915 Info ServerSynchronizer.cpp:30: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
  31.916 Info ServerMultiplayerManager.cpp:776: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
  31.916 Info ServerMultiplayerManager.cpp:776: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
  31.918 Loading map /home/gamemaster/factorio/saves/exploration-v2.zip: 175896258 bytes.
   32.019 Loading level.dat: 492899186 bytes.
  32.032 Info Scenario.cpp:187: Map version 0.17.74-0
  49.923 Warning BlueprintShelf.cpp:870: Record (0, 573) contains an empty blueprint; removing
  49.947 Warning BlueprintShelf.cpp:870: Record (0, 574) contains an empty blueprint; removing
  49.967 Warning BlueprintShelf.cpp:870: Record (0, 575) contains an empty blueprint; removing
Killed
gamemaster@vg-portal:~$
what i do wrong?

Re: [0.17.74] Server not starting

Posted: Thu Oct 31, 2019 3:04 pm
by Oxyd
Well, something kills the Factorio process. Does the server maybe run out of memory?

Re: [0.17.74] Server not starting

Posted: Thu Oct 31, 2019 3:13 pm
by nucleargen
Oxyd wrote: Thu Oct 31, 2019 3:04 pm Well, something kills the Factorio process. Does the server maybe run out of memory?
Maybe, free memory is about 3.3Gb, on my home computer this savegame takes about the same amount.
How can i check this?

Re: [0.17.74] Server not starting

Posted: Thu Oct 31, 2019 3:27 pm
by Oxyd
nucleargen wrote: Thu Oct 31, 2019 3:13 pm
Oxyd wrote: Thu Oct 31, 2019 3:04 pm Well, something kills the Factorio process. Does the server maybe run out of memory?
Maybe, free memory is about 3.3Gb, on my home computer this savegame takes about the same amount.
How can i check this?
You could run something like htop on the server to monitor the memory usage in real-time as Factorio is starting up.

Re: [0.17.74] Server not starting

Posted: Thu Oct 31, 2019 3:31 pm
by nucleargen
Added 4Gb of RAM, server runs Ok.
Thanks!