SonarQube upgrade 6.7 > 7.6 - Too Many open files

Hi @guru_sathish and @p928s1984 ,

you can increse the values as follows:

sysctl -w vm.max_map_count=524288
sysctl -w fs.file-max=131072
ulimit -n 131072
ulimit -u 8192

depending on your system startup type and installation these need to be adapted to the specific systemd service, sysctl- or limits configuration. at least in our database migration tests we never hit the limit of fs.file-max=131072, but if there is more than sonarqube running on your system you can increase this value further

hope that helps