2019-06-15 23:02:44 +00:00
|
|
|
# /etc/dphys-swapfile - user settings for dphys-swapfile package
|
|
|
|
# author Neil Franklin, last modification 2010.05.05
|
|
|
|
# copyright ETH Zuerich Physics Departement
|
|
|
|
# use under either modified/non-advertising BSD or GPL license
|
|
|
|
|
|
|
|
# this file is sourced with . so full normal sh syntax applies
|
|
|
|
|
|
|
|
# the default settings are added as commented out CONF_*=* lines
|
|
|
|
|
|
|
|
|
|
|
|
# where we want the swapfile to be, this is the default
|
|
|
|
#CONF_SWAPFILE=/var/swap
|
|
|
|
|
|
|
|
# set size to absolute value, leaving empty (default) then uses computed value
|
|
|
|
# you most likely don't want this, unless you have an special disk situation
|
2020-05-23 03:18:50 +00:00
|
|
|
#CONF_SWAPSIZE=100100
|
2019-06-15 23:02:44 +00:00
|
|
|
|
|
|
|
# set size to computed value, this times RAM size, dynamically adapts,
|
|
|
|
# guarantees that there is enough swap without wasting disk space on excess
|
|
|
|
#CONF_SWAPFACTOR=2
|
|
|
|
|
|
|
|
# restrict size (computed and absolute!) to maximally this limit
|
|
|
|
# can be set to empty for no limit, but beware of filled partitions!
|
|
|
|
# this is/was a (outdated?) 32bit kernel limit (in MBytes), do not overrun it
|
|
|
|
# but is also sensible on 64bit to prevent filling /var or even / partition
|
2020-05-23 03:18:50 +00:00
|
|
|
#CONF_MAXSWAP=8000
|
|
|
|
|
|
|
|
# myNode Settings
|
|
|
|
CONF_SWAPSIZE=2048
|
|
|
|
CONF_MAXSWAP=8000
|
2019-06-15 23:02:44 +00:00
|
|
|
CONF_SWAPFILE=/mnt/hdd/swapfile
|