Skip to content

This is the Stable version of the documentation. The latest version is experimental and under active development. You can use the version selector in the top-right menu to switch versions for this specific page, or click here to go to the latest version's homepage.

Perform OS-Level Kernel Tuning

Some components in the Opstella stack (e.g., SonarQube, Elasticsearch-based services) require a higher limit on the number of memory map areas a process may have.

This is REQUIRED for ALL Worker Nodes in your Kubernetes Cluster.

Failure to set this parameter may cause these services to fail to start or crash unexpectedly.

1. Pre-check current value

Run the following command to check the current value on each worker node:

Terminal window
sudo sysctl vm.max_map_count

If the value is greater than or equal to 262144, you can skip this section.

2. Set value permanently

To set this value permanently, add or update the vm.max_map_count setting in /etc/sysctl.conf.

... (deducted)
vm.max_map_count=262144

3. Reload sysctl configuration

Terminal window
sudo sysctl --system
sudo systemctl restart systemd-sysctl

4. Verify the setting

Terminal window
sudo sysctl vm.max_map_count

The output should return 262144.

Finished?

Use the below navigation to proceed