From: Florian Westphal <fw@strlen.de>
To: Peter Hudec <peter@home.hudecof.net>
Cc: netfilter@vger.kernel.org
Subject: Re: nft add element .. too many fiules opened
Date: Thu, 28 Apr 2022 16:04:27 +0200 [thread overview]
Message-ID: <20220428140427.GE9849@breakpoint.cc> (raw)
In-Reply-To: <1ECEF323-1FB2-4332-A5BF-81B5D4B9D394@home.hudecof.net>
Peter Hudec <peter@home.hudecof.net> wrote:
> Hi there,
>
> we have very strange problem with the nftables.
> Our firewall is using heavly the sets and the update of the sets from the path.
>
> First see part of the firewall, ignore the elemtns in the sets, I just keep few as a sample. Normaly there is about up to 600 records.
> The firewall acts as captive, the elemnts are added externaly by script after user/ip authentification.
>
> The problem is, that after some time I have got “Too many files opened “ on captive_keepalive set. The update from the path also stoped working.
>
> # /usr/sbin/nft add element ip captive captive_keepalive { 10.148.128.168 };
> Error: Could not process rule: Too many open files in system
> add element ip captive captive_keepalive { 10.148.128.168 }
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
How many elements are in this set?
> table ip captive {
> set captive_keepalive {
> type ipv4_addr
> size 65535
... this caps at 64k entries.
prev parent reply other threads:[~2022-04-28 14:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-28 12:53 nft add element .. too many fiules opened Peter Hudec
2022-04-28 14:04 ` Florian Westphal [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220428140427.GE9849@breakpoint.cc \
--to=fw@strlen.de \
--cc=netfilter@vger.kernel.org \
--cc=peter@home.hudecof.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox