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

device: Allow buffer memory growth to be limited at run time #69

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Feb 26, 2023

  1. device: Allow buffer memory growth to be limited at run time

    The infinite memory growth allowed by the default PreallocatedBuffersPerPool
    setting causes processes to be oom-killed on low memory devices.
    This occurs even when a soft limit is set with GOMEMLIMIT.
    Specifically running tailscale on a linux device (openwrt, mips, 128MB RAM)
    will exhaust all memory and be oom-killed when put under heavy load.
    Allowing this value to be overwritten as is done in the iOS build will
    allow tuning to cap memory expansion and prevent oom-kill.
    
    see tailscale issue thread for further info:
      tailscale/tailscale#7272
    
    Signed-off-by: Seth Lankford <slankford@gmail.com>
    gitlankford committed Feb 26, 2023
    Configuration menu
    Copy the full SHA
    f1b933a View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2023

  1. Configuration menu
    Copy the full SHA
    f35045b View commit details
    Browse the repository at this point in the history