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.91k stars 269 forks source link

RAM usage #575

Open fuse1985 opened 1 year ago

fuse1985 commented 1 year ago

the service started with around 3.9GB RAM and going higher and higher, even without logged in players. Valheim moderators on the official discord told me that their servers running with less RAM, so it is most likely due to the docker-image here? :(

I restarted the service ~1 hour ago and thats the actual RAM usage without logged in players.

mem

Would be awesome if this could be fixed.

Our settings:

BEPINEX=true
STEAMCMD_ARGS=-beta none
UPDATE_IF_IDLE=true
BACKUPS_CRON=0 3 * * *
BACKUPS_MAX_AGE=3
SERVER_ARGS=-backups 0 -saveinterval 1200
TheHades commented 1 year ago

Is this screenshot taken from inside the docker container or from the Host itself?

Please show the output of the following commands: free -m

docker stats

ps aux --sort -rss

fuse1985 commented 1 year ago

from the host itself. Its starting with nearly 0 RAM usage but since I start the valheim service its going up that way. It seems a little bit better since the last Valheim Update but its still at ~6 GB RAM usage. Its the only reason we booked this hetzner server.