10.5 | Server installation and setup | Perform pre-installation steps | On macOS systems

Was this page helpful?

On this page

Start Free

Pre-installation steps on macOS systems

Configuring the host to comply with Elasticsearch

Because SonarQube uses an embedded Elasticsearch, make sure that your host configuration complies with the Elasticsearch production mode requirements and File Descriptors configuration.

Configuring the maximum number of open files

Set the file limit values by running the following commands.

sudo sysctl -w kern.maxfiles=131072

sudo sysctl -w kern.maxfilesperproc=131072

ulimit -n 131072


© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License