home_server:home_server_setup:other_services:swap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
home_server:home_server_setup:other_services:swap [2019-12-08 Sun wk49 14:58] – created baumkphome_server:home_server_setup:other_services:swap [2023-11-19 Sun wk46 10:47] (current) – [SWAP Files] baumkp
Line 1: Line 1:
-===Home Server Index=== +{{tag>linux debian swap setup disable enable configure partition fstab}} 
-++++Home Server Index|<pagelist&header> +=====SWAP Files===== 
-*[[home_server:home_server_setup:summary]] +As I have a computer with enough memory I see no need or value in a SWAP partition. In fact as I am using a SSD for the system drive a SWAP is a concern to the reliability of his drive. The following is a list of method to check and disable SWAP function. 
-*[[home_server:home_server_setup:home_it_setup]] +  *The command ''sudo swapoff -a"''turns of an existing SWAP partition. (''sudo swapon -a'' turns it back on) 
-*[[home_server:home_server_setup:Network_setup]] +  *To prevent a SWAP partition being mounted at boot comment out the swap partition in /etc/fstab, ''sudo vim /etc/fstab''. (Another open is to instead use the swapoff -a command in a boot cron job. This allows the swapon -a option to be later used.) 
-*[[home_server:home_server_setup:kvm]] +  *The command ''free -hw'' shows the current memory status. 
-*[[home_server:home_server_setup:vnc_setup]] +  *Some links
-*[[home_server:home_server_setup:disk_check]] +     *[[http://askubuntu.com/questions/214805/how-do-i-disable-swap|How do I disable swap?]] This article also refers to another that explains why turning of SWAP, even with a lot of RAM, may not be best, however this was written at a time SSD were not common and system RAM availability were in general significantly lower. 
-*[[home_server:home_server_setup:other_services]] +     *[[https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04|How To Add Swap Space on Ubuntu 16.04]]. It is interesting that this article also warns against use of SWAP partitions with SSD storage. This article also mentions the swappiness and vfs_cache_pressure setting. 
-</pagelist>+++++See: 
 +  *[[https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-16-04|How To Add Swap Space on Ubuntu 16.04]] section on cache pressure on how to adjust this parameter. 
 +  *[[https://www.howtogeek.com/449691/what-is-swapiness-on-linux-and-how-to-change-it/|What Is Swappiness on Linux? (and How to Change It)]] 
 +  *[[https://ahmedzbyr.gitlab.io/hadoop/linux/swapiness-set/|How To Configure Swappiness]]
  
-===Home Server Other Index=== +----
-++++Home Server Other Index|<pagelist&header> +
-*[[home_server:home_server_setup:other_services:index]] +
-*[[home_server:home_server_setup:other_services:timedate]] +
-*[[home_server:home_server_setup:other_services:aptcache]] +
-*[[home_server:home_server_setup:other_services:swap]] +
-*[[home_server:home_server_setup:other_services:bash]] +
-*[[home_server:home_server_setup:other_services:vim]] +
-*[[home_server:home_server_setup:other_services:symlinks]] +
-*[[home_server:home_server_setup:other_services:fail2ban]] +
-*[[home_server:home_server_setup:other_services:monit]] +
-*[[home_server:home_server_setup:other_services:tripwire]] +
-*[[home_server:home_server_setup:other_services:misc]] +
-</pagelist>+++++
  
-<- home_server:home_server_setup:other_services:aptcache|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:bash|Next ->+<- home_server:home_server_setup:other_services:aptcache|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:webmin|Next ->
  • /app/www/public/data/attic/home_server/home_server_setup/other_services/swap.1575788293.txt.gz
  • Last modified: 2023-04-30 Sun wk17 17:43
  • (external edit)