dnsdist: Increase number of open files to 64k

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>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Michael Tremer
2019-08-22 21:09:24 +00:00
committed by Arne Fitzenreiter
parent 16bd7e43c1
commit 4f66bad488
2 changed files with 6 additions and 1 deletions

View File

@@ -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 = ""

View File

@@ -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
;;