mars/test_suite/mars/default-datadev_full.conf

54 lines
1.9 KiB
Bash

#!/bin/bash
# Copyright 2010-2013 Frank Liepold / 1&1 Internet AG
#
# Email: frank.liepold@1und1.de
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
## defaults for module datadev_full
## time for which the amount of data to replay must be constant to declare
## the replay process as having stopped
datadev_full_time_constant_replay=5
## time for which the amount of data to fetch must be constant to declare
## the fetch process as having stopped
datadev_full_time_constant_fetch=10
## time for which the amount of data to sync must be constant
## to declare the sync process as inactive
datadev_full_time_constant_sync=5
## maxtime to wait for replay to stop (after pause-replay)
datadev_full_maxtime_replay=60
## maxtime to wait for fetch to stop (after pause-fetch)
datadev_full_maxtime_fetch=300
## maxtime to wait for sync to stop
datadev_full_maxtime_sync=60
## files containing required free space limits (in GB) for the different levels
## of emergency mode
datadev_required_free_space_files=(
/proc/sys/mars/required_free_space_1_gb
/proc/sys/mars/required_free_space_2_gb
/proc/sys/mars/required_free_space_3_gb
/proc/sys/mars/required_free_space_4_gb
)
## file containing the remaining free space on /mars
datadev_remain_free_space_file=/proc/sys/mars/remaining_space_kb