Skip to content
Snippets Groups Projects
Commit cadd3b0e authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Changed some default values to better reflect production usage

parent bb1aabcd
Branches
Tags
No related merge requests found
......@@ -48,7 +48,7 @@
// Definitions
#define DEFAULT_SYNCINTERVAL 3600
#define DEFAULT_CHUNKINTERVAL 240
#define DEFAULT_CHUNKINTERVAL 1800
#define DEFAULT_CHUNKSIZE 2000
#define DEFAULT_DISABLESTAGERSYNC false
......
......@@ -57,7 +57,7 @@ class ActivityControlThread(threading.Thread):
if transfer.transferType == TransferType.STD and transfer.flags == 'r' :
return True
# find out the limit in terms of free space, from the config file
minFreeSpacePerc = self.configuration.getValue('DiskManager', 'FSMinAllowedFreeSpace', 0.05, float)
minFreeSpacePerc = self.configuration.getValue('DiskManager', 'FSMinAllowedFreeSpace', 0.02, float)
# get status of the filesystem
stat = os.statvfs(transfer.mountPoint)
availableSpace = stat.f_bavail * stat.f_frsize
......
......@@ -61,8 +61,8 @@ class ReporterThread(threading.Thread):
# freeSpace, nbReadStreams, nbWriteStreams, nbRecalls, nbMigrations), ...)
# with one tuple per filesystem
diskServerName = socket.getfqdn()
maxFreeSpace = self.configuration.getValue('DiskManager', 'FSMaxFreeSpace', 0.10, float)
minAllowedFreeSpace = self.configuration.getValue('DiskManager', 'FSMinAllowedFreeSpace', 0.05, float)
maxFreeSpace = self.configuration.getValue('DiskManager', 'FSMaxFreeSpace', 0.05, float)
minAllowedFreeSpace = self.configuration.getValue('DiskManager', 'FSMinAllowedFreeSpace', 0.02, float)
mountPoints = set(self.configuration.getValue('DiskManager', 'MountPoints', '').split())
streamCount = self.runningTransfers.getStreamCount()
reports = []
......
......@@ -298,12 +298,13 @@
#DiskManager MaxRegularJobsBeforeBackfill 20
# List of mountpoints the DiskManager daemon should monitor
#DiskManager MountPoints /srv/castor/01/ /srv/castor/02/ /srv/castor/03/
# you can use a list like /your/mount/point/01/ /your/mount/point/02/ ...
#DiskManager MountPoints
# The following definition allow the max and minallowed free space to be defined
# at the disk server level respectively.
#DiskManager FSMaxFreeSpace .10
#DiskManager FSMinAllowedFreeSpace .05
#DiskManager FSMaxFreeSpace .05
#DiskManager FSMinAllowedFreeSpace .02
# The frequency at which the GC daemon checks the stager to see whether there are
# files to be removed on the diskserver. This value is represented in seconds.
......@@ -327,7 +328,7 @@
# the stager catalog and nameserver. I.e the interval between two bulk checks of
# size ChunkSize
#GC ChunkInterval 240
#GC ChunkInterval 1800
# By default the startup of the GC daemon is deliberately offset by a random interval
# between 1 and 15 minutes. This randomized delay should prevent all GC's in an
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment