Page 1 of 1

headless server at home

Posted: Sun Apr 22, 2018 6:09 am
by XaLpHa89
I run a headless server at home, so far he runs quite well, only after one day he is no longer available. After a restart of ./factorio everything is back to normal. I can not interpret the error messages.

Code: Select all

● factorio.service - Factorio Headless Server
   Loaded: loaded (/etc/systemd/system/factorio.service; static; vendor preset: enabled)
   Active: active (running) since Fri 2018-04-20 16:06:26 CEST; 1 day 15h ago
 Main PID: 7717 (factorio)
    Tasks: 8 (limit: 4915)
   Memory: 303.5M
      CPU: 1h 18min 54.006s
   CGroup: /system.slice/factorio.service
           └─7717 /opt/factorio/bin/x64/factorio --start-server /opt/factorio/saves/my-save.zip --server-settings /opt/factorio/data/server-settings.json

Apr 22 05:34:44 SV2 factorio[7717]: 134897.563 code:28, 1c; Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds
Apr 22 05:34:44 SV2 factorio[7717]: 134897.563 Info HttpSharedState.cpp:143: Downloading https://multiplayer.factorio.com/post-game-heartbeat/1843931
Apr 22 05:34:44 SV2 factorio[7717]: 134897.563 Info HttpSharedState.cpp:145: Status code: 0
Apr 22 05:34:44 SV2 factorio[7717]: 134897.564 Info MatchingServer.cpp:138: Failed to sendHeartbeat to the multiplayer matching server: Download failed (status code 0).
Apr 22 05:34:45 SV2 factorio[7717]: 134898.247 Info ServerMultiplayerManager.cpp:627: Matching server connection resumed
Apr 22 05:42:14 SV2 factorio[7717]: 135347.559 code:28, 1c; Operation too slow. Less than 1 bytes/sec transferred the last 20 seconds
Apr 22 05:42:14 SV2 factorio[7717]: 135347.559 Info HttpSharedState.cpp:143: Downloading https://multiplayer.factorio.com/post-game-heartbeat/1843931
Apr 22 05:42:14 SV2 factorio[7717]: 135347.560 Info HttpSharedState.cpp:145: Status code: 0
Apr 22 05:42:14 SV2 factorio[7717]: 135347.560 Info MatchingServer.cpp:138: Failed to sendHeartbeat to the multiplayer matching server: Download failed (status code 0).
Apr 22 05:42:14 SV2 factorio[7717]: 135348.075 Info ServerMultiplayerManager.cpp:627: Matching server connection resumed

Re: headless server at home

Posted: Tue Apr 24, 2018 12:42 pm
by mexmer
looks to me, like either you connection was not working at specified time, or your network gone into power saving mode and started dropping packet. windows 10 have rather aggressive power management (not sure if you running win 10, but if so ... well that's it).

if you running on windows, just go to device manager, find your adapter, and disable power management on it.