Skip to content

SSH and the OOM killer #13

@peterhoeg

Description

@peterhoeg

A few comments:

  1. the cron example listed doesn't run "every few minues" as mentioned, but every minute
  2. -17 is not a valid value for oom_adj. It goes from -16 to 15.
  3. the proper way to set this assuming the host uses systemd is via the unit configuration:
[Service]
OOMScoreAdjust = -1000
  1. if using systemd, you would then also need to configure ssh to always run rather than be socket activated (the default depends on your distribution)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions