此内容没有您所选择的语言版本。

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:

  1. 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
    Copy to Clipboard Toggle word wrap
  2. 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
    Copy to Clipboard Toggle word wrap
  3. Append the following line to the same file to increase the connection-tracking table size:
    net.netfilter.nf_conntrack_max = 1048576
    Copy to Clipboard Toggle word wrap
  4. Append the following line to the same file to enable forwarding for the port proxy:
    net.ipv4.ip_forward = 1
    Copy to Clipboard Toggle word wrap
  5. 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
    Copy to Clipboard Toggle word wrap
  6. Run the following command to reload the sysctl.conf file and activate the new settings:
    # sysctl -p /etc/sysctl.conf
    Copy to Clipboard Toggle word wrap

Note

If you use the kickstart or bash script, the configure_sysctl_on_node function performs these steps.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat