diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 03:29:16 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-05-20 03:29:16 +0200 |
commit | f8971778adc69abe65096caddaef06bd21e174d7 (patch) | |
tree | 3bcf0db66daa473931b8f9b7e7f7104b2a4a4ecb /debian | |
parent | Include loopback IP addresses in martian NEXTHOP check (diff) | |
download | frr-f8971778adc69abe65096caddaef06bd21e174d7.tar.xz frr-f8971778adc69abe65096caddaef06bd21e174d7.zip |
quagga: quagga-startup-fds.patch
Setup default number of filedescriptors allowed in quagga defaults and ulimit calls
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by:
Diffstat (limited to 'debian')
-rw-r--r-- | debian/quagga.default | 4 | ||||
-rwxr-xr-x | debian/quagga.init.d | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/quagga.default b/debian/quagga.default index da9bffeee..ae1ae129e 100644 --- a/debian/quagga.default +++ b/debian/quagga.default @@ -1,2 +1,4 @@ MAX_INSTANCES=5 -ENABLE_RELOAD=no
\ No newline at end of file +ENABLE_RELOAD=no +MAX_FDS=1024 + diff --git a/debian/quagga.init.d b/debian/quagga.init.d index 093c57341..b9ad6e666 100755 --- a/debian/quagga.init.d +++ b/debian/quagga.init.d @@ -89,6 +89,7 @@ check_daemon() # The Quagga daemons creates the pidfile when starting. start() { + ulimit -n $MAX_FDS if [ "$1" = "watchquagga" ]; then # We may need to restart watchquagga if new daemons are added and/or |