diff options
author | Simon Rettberg | 2017-11-08 15:34:03 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-08 15:34:03 +0100 |
commit | 5440febba42d0f46572d0617f0fdd5d2d38922de (patch) | |
tree | 6032fdf2bd19bda0c7504b445dcf96b3514ccddc /conf | |
parent | [SERVER] altservers: Tweak, cleanup, refactor, rename (diff) | |
download | dnbd3-5440febba42d0f46572d0617f0fdd5d2d38922de.tar.gz dnbd3-5440febba42d0f46572d0617f0fdd5d2d38922de.tar.xz dnbd3-5440febba42d0f46572d0617f0fdd5d2d38922de.zip |
[SERVER] Add multiple config options for limiting stuff
maxClients, maxImages, maxPayload, maxReplicationSize
Refs #3231
Diffstat (limited to 'conf')
-rw-r--r-- | conf/server.conf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/conf/server.conf b/conf/server.conf index b751dbe..f748a4a 100644 --- a/conf/server.conf +++ b/conf/server.conf @@ -19,6 +19,16 @@ removeMissingImages=true uplinkTimeout=1250 ; timeout in ms for send/recv on connections to clients (using an image on this server) clientTimeout=15000 +; set this to true to close handles of unused images after some timeout +closeUnusedFd=false +; set this to true to load files without the .r[0-9]+ extension too, assuming RID=1 +vmdkLegacyMode=false + +[limits] +maxClients=2000 +maxImages=1000 +maxPayload=9M +maxReplicationSize=150G ; Log related config [logging] |