From 5440febba42d0f46572d0617f0fdd5d2d38922de Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 8 Nov 2017 15:34:03 +0100 Subject: [SERVER] Add multiple config options for limiting stuff maxClients, maxImages, maxPayload, maxReplicationSize Refs #3231 --- conf/server.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'conf') 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] -- cgit v1.2.3-55-g7522