From 89059abe1505f2349d0605f79ab93f0662da41d1 Mon Sep 17 00:00:00 2001 From: hagen Date: Fri, 4 Nov 2016 00:00:00 +0000 Subject: [PATCH] * Config.cpp : limits.coresize & limits.openfiles --- Config.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Config.cpp b/Config.cpp index 000bc3f2..360694a0 100644 --- a/Config.cpp +++ b/Config.cpp @@ -62,6 +62,8 @@ namespace config { options_description limits("Limits options"); limits.add_options() + ("limits.coresize", value()->default_value(0), "Maximum size of corefile in Kb (0 - disable coredumps)") + ("limits.openfiles", value()->default_value(0), "Maximum number of open files (0 - use system default)") ("limits.transittunnels", value()->default_value(2500), "Maximum active transit sessions (default:2500)") ;