Skip to content
Snippets Groups Projects

Use swap in emergency situations

Merged Florian Sesser requested to merge enable-swap into develop

On never kernels, a swappiness of 0 means "disable swap completely" where it would before ~ 2.6.32 would still allow the kernel to swap in certain emergency situations.

We have alerting in place in case of any swapping, hoping we can react quickly enough to catch problems of runaway machines before they have to haywire OOM or reboot.

Command: rg -l swappiness | xargs sed -i 's/swappiness" = 0/swappiness" = 1/' (but not adding the change to the virtual hardware for the local grid).

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading