Profile openshift: increase fs.aio-max-nr tunable
The kernel tunable fs.aio-max-nr specifies the maximum number of events
specified on the io_setup() call for all currently active aio contexts.
On large systems this causes issues with the io_setup() call failing
with EAGAIN. Libvirt already increases this setting to 1048576:
96e99e4948/src/remote/libvirtd.sysctl
The only potential drawback of a larger limit is that a malicious users
could issue parallel io_setup() requests to cause the kernel to set
aside memory.
Signed-off-by: Jiri Mencak <jmencak@users.noreply.github.com>
This commit is contained in:
parent
1a999589d3
commit
8b57a12efc
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ nf_conntrack_hashsize=1048576
|
|||
[sysctl]
|
||||
net.ipv4.ip_forward=1
|
||||
kernel.pid_max=>4194304
|
||||
fs.aio-max-nr=>1048576
|
||||
net.netfilter.nf_conntrack_max=1048576
|
||||
net.ipv4.conf.all.arp_announce=2
|
||||
net.ipv4.neigh.default.gc_thresh1=8192
|
||||
|
|
|
|||
Loading…
Reference in a new issue