10.5 | Server installation and setup | Perform 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?