Skip to content
Snippets Groups Projects
Select Git revision
0 results

issuer-aws.nix

  • Florian Sesser's avatar
    03ebe372
    We want to swap in emergency situations so we have some time to recover · 03ebe372
    Florian Sesser authored
    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).
    03ebe372
    History
    We want to swap in emergency situations so we have some time to recover
    Florian Sesser authored
    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).