diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-07 22:42:18 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-03-07 22:44:06 +0100 |
commit | cb872efb5b8dac9c9095502bbb14e858d07dfef3 (patch) | |
tree | b95011ec0675d848c081101ca3fcf250c4bc6c8c /src/etc/systemd/system/frr.service.d | |
parent | 06e810ffc398366f7d4cc00241e0692e6fe81620 (diff) | |
download | vyos-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')
-rw-r--r-- | src/etc/systemd/system/frr.service.d/override.conf | 2 |
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; \ |