Start Free
Latest | Server installation and setup | Pre-installation steps | On macOS systems

Pre-installation steps on macOS systems

On this page

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



Was this page helpful?

© 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