Open RobJY opened 3 years ago
Starting with increasing swap space.
The process is a little different on the two servers because aegypti is running Ubuntu 20.04 and prospero is running Ubuntu 18.04.
For prospero the existing swap space is on a partition and not in a file, so we'll have to remove the partition before adding the file. To remove the existing swap partition we'll do:
Now adding or modifying the swapfile is largely the same:
Done with manual update of swap space on aegypti and prospero. Change to /etc/fstab will cause the modification to persist, so nothing further needs to be done for swap space.
I've manually run a script on aegypti and prospero that creates systemd files to limit user memory usage to 95% of RAM.
Each of these should start with a manual change on the servers as a test before adding to the Ansible deploy scripts.