Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any information about memory usage ? #33

Closed
Jeoffreybauvin opened this issue Oct 25, 2021 · 16 comments
Closed

Any information about memory usage ? #33

Jeoffreybauvin opened this issue Oct 25, 2021 · 16 comments
Labels
bug Something isn't working enhancement New feature or request game bug A bug within the game itself, unfixable by this project

Comments

@Jeoffreybauvin
Copy link

Hello,

I think I know the answer... Do you have some informations about memory consumption ?

My host :

root@srv:# free -h
              total        used        free      shared  buff/cache   available
Mem:           15Gi        12Gi       1.4Gi       7.0Mi       2.0Gi       3.5Gi
Swap:         2.0Gi       290Mi       1.7Gi

My containers :

root@srv:# docker stats
CONTAINER ID   NAME      CPU %     MEM USAGE / LIMIT     MEM %     NET I/O          BLOCK I/O         PIDS
f41052af0c31   satis-2   127.76%   6.015GiB / 7.906GiB   76.09%    133MB / 49.2MB   35.3GB / 10.2GB   91
ef84a28a082b   satis-1   133.39%   7.318GiB / 7.906GiB   92.56%    352MB / 232MB    35.4GB / 10.6GB   91

They are using each half of the memory available on the host, and no one on the servers for several days...

Regards,

@wolveix
Copy link
Owner

wolveix commented Oct 25, 2021

Hey! Thanks for taking the time to submit this issue.

I believe this is due to a memory leak within the game. I know that Coffee Stain Studios (the devs) have said that servers would need a daily reset for reasons; I imagine this is one of those reasons. I'm going to implement this into the new rewrite :) Stay tuned!

@wolveix wolveix added bug Something isn't working enhancement New feature or request game bug A bug within the game itself, unfixable by this project labels Oct 25, 2021
@wolveix
Copy link
Owner

wolveix commented Oct 26, 2021

@Jeoffreybauvin the project has just been rebased thanks to Coffee Stain Studios releasing an official dedicated server implementation (albeit, in beta). Would you mind letting me know if the issue persists with the latest (wolveix/satisfactory-server:latest) image?

@Jeoffreybauvin
Copy link
Author

Great @wolveix ! I can confirm, new version is working fine.

I'll check the memory consumption in a few days.

@andrewgdunn
Copy link

Anecdotally the CPU utilization is down by 10x between v4 and v5.

@wolveix
Copy link
Owner

wolveix commented Oct 27, 2021

That makes sense, given that the server no longer has all of the client bloat :)

@wolveix
Copy link
Owner

wolveix commented Nov 25, 2021

I believe the implementation of the official dedicated server resolved the nemory usage issues. Please feel free to reopen this if the issue arises again :)

@wolveix wolveix closed this as completed Nov 25, 2021
@thewinger
Copy link

Hello,
I am seeing this happening to me.
Created the server 2 weeks ago and the container is always at 5-10% CPU and 4-5G of Memory Usage, even when no one is connected.
image

Docker-compose:

satisfactory:
    container_name: satisfactory
    hostname: satisfactory
    image: wolveix/satisfactory-server:latest
    restart: unless-stopped
    networks:
        - t2_proxy
    ports:
        - '7777:7777/udp'
        - '15000:15000/udp'
        - '15778:15777/udp'
    volumes:
        - $DOCKERDIR/satisfactory:/config
    environment:
        - MAXPLAYERS=4
        - PUID=$PUID
        - PGID=$PGID
        - STEAMBETA=false
        - DISABLESEASONALEVENTS=true
        - AUTOPAUSE=true

@wolveix
Copy link
Owner

wolveix commented Jan 10, 2022

@thewinger that's not a bug, that's just the server being online

@thewinger
Copy link

Even if there is no one connected?

Thanks! Will have to stopped it when there is no one.

@wolveix
Copy link
Owner

wolveix commented Jan 10, 2022

@thewinger Yeah, since the server remains initialised. The config option to suspend the world when no-one is connected may achieve what you're after :)

@msladek
Copy link
Collaborator

msladek commented Jan 10, 2022

I also observe a constant ~10% CPU usage, even when the world is paused. this seems quite high but I assume this has to do with the server implementation and not with the docker container.

I also asked this question at questions.satisfactorygame.com but never got a satisfying answer.

@wolveix
Copy link
Owner

wolveix commented Jan 10, 2022

Yeah, I'm fairly certain that would be the server implementation by CSS, rather than this repo's wrapper

@IMarkoMC
Copy link

IMarkoMC commented Sep 20, 2022

Any ideas why the memory usage went up exponentially in the last update?
I was able to run my server with 5gb of ram, now it's using 10+GB

Only one player (me) connected as it's acting weird.
The first time i connect. the ram skyrockets and i get kicked out with a timeout error

@wolveix
Copy link
Owner

wolveix commented Sep 20, 2022

@IMarkoMC if it was caused by a game server update, then it's a game bug I'm afraid. It's likely that CSS are aware of it and are working on pushing a fix. My only suggestion would be to try loading a fresh/new save, just to rule it out.

@IMarkoMC
Copy link

IMarkoMC commented Sep 20, 2022

Yeah it's the same even with a new world
image
image

I guess we'll have to wait to play then

I limited the server to 8GB. It should be more than enough to run a game server

@wolveix
Copy link
Owner

wolveix commented Sep 20, 2022

@IMarkoMC please open a new issue and provide the requested information within the issue template :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request game bug A bug within the game itself, unfixable by this project
Projects
None yet
Development

No branches or pull requests

6 participants