Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
9.10.5. Configuring System Control Settings
OpenShift Enterprise uses semaphores, ports, and connection tracking extensively. Apply the following changes to the default
/etc/sysctl.conf
file to enable this usage.
Procedure 9.8. To Configure the sysctl Settings:
- Open the
/etc/sysctl.conf
file and append the following line to increase kernel semaphores to accommodate more httpds:kernel.sem = 250 32000 32 4096
kernel.sem = 250 32000 32 4096
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Append the following line to the same file to increase the ephemeral port range to accommodate application proxies:
net.ipv4.ip_local_port_range = 15000 35530
net.ipv4.ip_local_port_range = 15000 35530
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Append the following line to the same file to increase the connection-tracking table size:
net.netfilter.nf_conntrack_max = 1048576
net.netfilter.nf_conntrack_max = 1048576
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Append the following line to the same file to enable forwarding for the port proxy:
net.ipv4.ip_forward = 1
net.ipv4.ip_forward = 1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Append the following line to the same file to allow the port proxy to route using loopback addresses:
net.ipv4.conf.all.route_localnet = 1
net.ipv4.conf.all.route_localnet = 1
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Run the following command to reload the
sysctl.conf
file and activate the new settings:sysctl -p /etc/sysctl.conf
# sysctl -p /etc/sysctl.conf
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Note
If you use the kickstart or bash script, the
configure_sysctl_on_node
function performs these steps.