summaryrefslogtreecommitdiff
path: root/data/templates/frr
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-12-15 07:25:39 +0100
committerChristian Breunig <christian@breunig.cc>2023-12-15 07:26:39 +0100
commit892c28ccf634173d4c4952c248cb03974c560793 (patch)
treecf0c67c253dbf84e8d9a378ea737036c6bf8696e /data/templates/frr
parenta9ff143fc1e9a95ac2f375db0bd06a8a43fa860e (diff)
downloadvyos-1x-892c28ccf634173d4c4952c248cb03974c560793.tar.gz
vyos-1x-892c28ccf634173d4c4952c248cb03974c560793.zip
frr: T4020: add option to define number of open file descriptors
This allows the operator to control the number of open file descriptors each daemon is allowed to start with. The current assumed value on most operating systems is 1024. If the operator plans to run bgp with several thousands of peers then this is where we would modify FRR to allow this to happen. set system frr descriptors <n>
Diffstat (limited to 'data/templates/frr')
-rw-r--r--data/templates/frr/daemons.frr.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/frr/daemons.frr.tmpl b/data/templates/frr/daemons.frr.tmpl
index a65f0868a..c637e18bc 100644
--- a/data/templates/frr/daemons.frr.tmpl
+++ b/data/templates/frr/daemons.frr.tmpl
@@ -108,7 +108,6 @@ valgrind_enable=no
frr_profile="traditional"
-#MAX_FDS=1024
+MAX_FDS={{ descriptors }}
#FRR_NO_ROOT="yes"
-