summaryrefslogtreecommitdiff
path: root/src/etc/systemd/system/frr.service.d/override.conf
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-03-07 22:42:18 +0100
committerChristian Breunig <christian@breunig.cc>2023-03-07 22:44:06 +0100
commitcb872efb5b8dac9c9095502bbb14e858d07dfef3 (patch)
treeb95011ec0675d848c081101ca3fcf250c4bc6c8c /src/etc/systemd/system/frr.service.d/override.conf
parent06e810ffc398366f7d4cc00241e0692e6fe81620 (diff)
downloadvyos-1x-cb872efb5b8dac9c9095502bbb14e858d07dfef3.tar.gz
vyos-1x-cb872efb5b8dac9c9095502bbb14e858d07dfef3.zip
frr: T5045: lift LimitNOFILE 1024 -> 4096
Lift the amount of allowed open file descriptors for the FRR process tree. Required if there are hundreds to thousands interfaces on a system.
Diffstat (limited to 'src/etc/systemd/system/frr.service.d/override.conf')
-rw-r--r--src/etc/systemd/system/frr.service.d/override.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/systemd/system/frr.service.d/override.conf b/src/etc/systemd/system/frr.service.d/override.conf
index 69eb1a86a..2e2f67f70 100644
--- a/src/etc/systemd/system/frr.service.d/override.conf
+++ b/src/etc/systemd/system/frr.service.d/override.conf
@@ -3,6 +3,8 @@ Before=
Before=vyos-router.service
[Service]
+LimitNOFILE=4096
+LimitNOFILESoft=4096
ExecStartPre=/bin/bash -c 'mkdir -p /run/frr/config; \
echo "log syslog" > /run/frr/config/frr.conf; \
echo "log facility local7" >> /run/frr/config/frr.conf; \