Jump to content
  • Linux dedi Crashing Unexpectedly


    SylenThunder
    • Version: Alpha 21 B313

    Summary: Server terminates with a fatal signal.
     

    Game Version: A21 b313

    OS/Version: Linux - Debian 11

    CPU Model: AMD Ryzen 9 9590x

    System Memory: 128 GB

    GPU Model and VRAM: N/A

    Screen Resolution: N/A

    Video Settings: N/A

    Game mode: Dedi client

     

    Did you wipe old saves? Yes

     

    Did you start a new game? Yes

     

    Did you validate your files? Yes clean installation

     

    Are you using any mods? No

     

    EAC on or off? On

     

    Status: NEW

     

    Bug Description: The first one we experienced occured right as bloodmoon started. The second was completely random. Have attached logs for reference.

    Apologies for the logs. Too big for Pastebin, crashed justpaste.it, and Google Drive failed on uploading.

    sdtdserver-console-2023-06-12-205402.log

    sdtdserver-console-2023-06-13-215202.log

    sdtdserver-console-2023-06-14-181601.log

     

    Detailed steps to reproduce the bug:

    1) Run server

    2) Wait

    3) Experience crash

     

    Actual result: Server dies

     

    Expected result: Server does not die

     

    Sorry, I cannot be more helpful with how exactly it's happening. I can't say I've experienced this in previous testing.


    User Feedback

    Recommended Comments

    I had the same problem with α20, but the problem was solved by adjusting to linux.

    1.Check kernel parameter
    cat /proc/sys/vm/max_map_count
    I think the standard value for Ubuntu20 and 22 is about 65530, but I think that 7dtd reaches the limit around 8-10GB of memory usage and the s
    erver crashes.

    2.set new parameter
    Add the following lines to the end of /etc/sysctl.conf.
    vm.max_map_count=262144

    If you have more than 32GB of memory, the following settings may be good to deal with abnormal memory consumption of α21.
    vm.max_map_count=524288

    3.Apply setting
    with root privileges
    sysctl -p
    or
    machine reboot

    I don't know how 7dtd uses memory, so the parameter values are my rule of thumb.
    If you find better tuning, please share.

    Link to comment
    Share on other sites

    52 minutes ago, tnk said:

    I had the same problem with α20, but the problem was solved by adjusting to linux.

    1.Check kernel parameter
    cat /proc/sys/vm/max_map_count
    I think the standard value for Ubuntu20 and 22 is about 65530, but I think that 7dtd reaches the limit around 8-10GB of memory usage and the s
    erver crashes.

    2.set new parameter
    Add the following lines to the end of /etc/sysctl.conf.
    vm.max_map_count=262144

    If you have more than 32GB of memory, the following settings may be good to deal with abnormal memory consumption of α21.
    vm.max_map_count=524288

    3.Apply setting
    with root privileges
    sysctl -p
    or
    machine reboot

    I don't know how 7dtd uses memory, so the parameter values are my rule of thumb.
    If you find better tuning, please share.

    I wouldn't be keen to do that since if 7 Days does need to use enough memory to make this change effective, making this change will reduce the performance of the server when it is expanding the RAM to that extent. 

     

    Curiously, this hasn't happened much at all in the past couple of weeks. We have not made any changes in our setup though.

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...