From cb872efb5b8dac9c9095502bbb14e858d07dfef3 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Tue, 7 Mar 2023 22:42:18 +0100 Subject: 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. --- src/etc/systemd/system/frr.service.d/override.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/etc/systemd/system/frr.service.d') 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; \ -- cgit v1.2.3