| 1 |
# This file is part of Swapspace. |
|---|
| 2 |
# |
|---|
| 3 |
# Swapspace is free software; you can redistribute it and/or modify |
|---|
| 4 |
# it under the terms of the GNU General Public License as published by |
|---|
| 5 |
# the Free Software Foundation; either version 2 of the License, or |
|---|
| 6 |
# (at your option) any later version. |
|---|
| 7 |
# |
|---|
| 8 |
# Swapspace is distributed in the hope that it will be useful, |
|---|
| 9 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 10 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 11 |
# GNU General Public License for more details. |
|---|
| 12 |
# |
|---|
| 13 |
# You should have received a copy of the GNU General Public License |
|---|
| 14 |
# along with swapspace; if not, write to the Free Software |
|---|
| 15 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
# Swap path: location where swapspace may create and delete swapfiles. For |
|---|
| 19 |
# security reasons this directory must be accessible to root and to root only. |
|---|
| 20 |
#swappath="/var/lib/swapspace" |
|---|
| 21 |
|
|---|
| 22 |
# Lower free-space threshold: if the percentage of free space drops below this |
|---|
| 23 |
# number, additional swapspace is allocated |
|---|
| 24 |
#lower_freelimit=20 |
|---|
| 25 |
|
|---|
| 26 |
# Upper free-space threshold: if the percentage of free space exceeds this |
|---|
| 27 |
# number, swapspace will attempt to free up swapspace |
|---|
| 28 |
#upper_freelimit=60 |
|---|
| 29 |
|
|---|
| 30 |
# Percentage of free space swapspace should aim for when adding swapspace. This |
|---|
| 31 |
# should fall somewhere between lower_freelimit and upper_freelimit. |
|---|
| 32 |
#freetarget=30 |
|---|
| 33 |
|
|---|
| 34 |
# Smallest allowed size for individual swapfiles |
|---|
| 35 |
#min_swapsize=4m |
|---|
| 36 |
|
|---|
| 37 |
# Greatest allowed size for individual swapfiles |
|---|
| 38 |
#max_swapsize=2t |
|---|
| 39 |
|
|---|
| 40 |
# Duration (roughly in seconds) of the moratorium on swap allocation that is |
|---|
| 41 |
# instated if disk space runs out, or the cooldown time after a new swapfile is |
|---|
| 42 |
# successfully allocated before swapspace will consider deallocating swap space |
|---|
| 43 |
# again. The default cooldown period is about 10 minutes. |
|---|
| 44 |
#cooldown=600 |
|---|
| 45 |
|
|---|