Document swap file resizing
Following adoption of TPA-RFC-55: Swap file policy, we should document how to resize the ganeti installer-created swap file for instances that require more swap space.
Following adoption of TPA-RFC-55: Swap file policy, we should document how to resize the ganeti installer-created swap file for instances that require more swap space.
assigned to @lavamind
removed Policy label
marked this issue as related to #41115 (closed)
added Documentation label
mentioned in commit wiki-replica@3620fdef
Done.
closed
i think you're missing a step here:
9. consider expanding the swap file if memory requirements are
expected to be higher than usual on this system, such a large database
servers, GitLab instances, etc. the steps below will recreate a 1G
`/swapfile` volume:
swapoff -a &&
dd if=/dev/zero of=/swapfile bs=1M count=1024 &&
chmod 0600 /swapfile &&
mkswap /swapfile &&
swapon -a
... namely adding the said swap file to /etc/fstab
... i understand we might be assuming it's already present, but it's possible some installers might not be using a swapfile... so maybe this would better belong in the existing "partitions have been correctly setup" section?
reopened
mentioned in commit wiki-replica@b003eb19
closed