dnsdist might need to open large number of connections and therefore the default limit of 1024 needs to be raised.
Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- lfs/dnsdist | 2 +- src/initscripts/packages/dnsdist | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/lfs/dnsdist b/lfs/dnsdist index 5963c5acd..6a52f0f47 100644 --- a/lfs/dnsdist +++ b/lfs/dnsdist @@ -33,7 +33,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) SUP_ARCH = x86_64 i586 PROG = dnsdist -PAK_VER = 2 +PAK_VER = 3
DEPS = ""
diff --git a/src/initscripts/packages/dnsdist b/src/initscripts/packages/dnsdist index a70bd3806..c94f429ab 100644 --- a/src/initscripts/packages/dnsdist +++ b/src/initscripts/packages/dnsdist @@ -14,6 +14,11 @@ case "${1}" in start) boot_mesg "Starting dnsdist..." + + # Increasing maximum number of open files + ulimit -n 65536 + + # Starting daemon /usr/bin/dnsdist --supervised ${ARGS} >/dev/null & evaluate_retval ;;