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

SSH and the OOM killer #13

Open
peterhoeg opened this issue May 27, 2022 · 0 comments
Open

SSH and the OOM killer #13

peterhoeg opened this issue May 27, 2022 · 0 comments

Comments

@peterhoeg
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant