lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.94k stars 272 forks source link

Container crashes randomly, tested with Synology and Amazon AWS #359

Closed mr190e closed 3 years ago

mr190e commented 3 years ago

I used this docker container to run a Valheim server for me and 5 friends. Unfortunately as soon as the world hit to 80MB barrier, the container randomly crashed. It first occurred while using vanilla ubuntu 20.04 LTS in Amazons Lightsail environment. We ran out of memory... maybe it would be good to include an option to limit the memory usages, or make a hint regarding a swap file. Anyhow, I than downloaded the world and config files from AWS and uploaded it to my Synology NAS (DS218+ with 10GB of RAM) and again: the container crashes randomly. For AWS the reason was loss of memory space, as the server gained more and more RAM. SnapD than killed one process after another, so I couldn't even login via SSH. The AWS instance only got 4GB. Now on my NAS I got 10GB. Still it crashed. I attached the log files. It crashed at 7:00 o'clock at the 26th of May: lloesche-valheim-server1.html.zip

mr190e commented 3 years ago

I'm so sorry, it was my watchdog-container who stopped the Valheim-container ... Now I feel ashamed :))