Questo contenuto non è disponibile nella lingua selezionata.

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.
Torna in cima
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2025 Red Hat