mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
committed by
Arne Fitzenreiter
parent
16bd7e43c1
commit
4f66bad488
@@ -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 = ""
|
||||
|
||||
|
||||
@@ -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
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user