NIFI-8686 Update administration guide with kernel 3 time_wait setting

Signed-off-by: Matthew Burgess <mattyb149@apache.org>

This closes #5149
This commit is contained in:
theBestAndrew 2021-06-11 16:27:44 +00:00 committed by Matthew Burgess
parent f11c99f9ec
commit 1033e77e7f
No known key found for this signature in database
GPG Key ID: 05D3DEB8126DAD24
1 changed files with 6 additions and 0 deletions

View File

@ -139,9 +139,15 @@ Set how long sockets stay in a TIMED_WAIT state when closed::
You don't want your sockets to sit and linger too long given that you want to be
able to quickly setup and teardown new sockets. It is a good idea to read more about
it and adjust to something like
for kernel 2.6
----
sudo sysctl -w net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait="1"
----
for kernel 3.0
----
sudo sysctl -w net.netfilter.nf_conntrack_tcp_timeout_time_wait="1"
----
Tell Linux you never want NiFi to swap::
Swapping is fantastic for some applications. It isn't good for something like