페이지 트리

버전 비교

  • 이 줄이 추가되었습니다.
  • 이 줄이 삭제되었습니다.
  • 서식이 변경되었습니다.

Reference = https://docs.sonarqube.org/display/SONAR/Requirements

Platform notes

Linux

If you're running on Linux, you must ensure that리눅스를 사용중이라면 다음을 확인하세요. :

  • vm.max_map_count is greater or equals to 262144 : 262144 이상
  • fs.file-max is greater or equals to 65536
  • the user running SonarQube can open at least 65536 file descriptors

You can see the values with the following commands :

  •  : 65536 이상
  • Open 파일 : 65536 이상


다음 명령을 통해 확인할 수 있습니다:


코드 블럭
sysctl 
sysctl
vm.max_map_count

sysctl fs.file-max

ulimit
 
 -n

You can set them dynamically for the current session by running  the following commands as root:



root 권한의 사용자가 다음 명령으로 수정할 수 있습니다. 


코드 블럭
sysctl -w 
sysctl -w
vm.max_map_count=262144

sysctl -w fs.file-max=65536

ulimit
 
 -n 65536

...


(경고) To set these values more permanently, you must update either /etc/sysctl.d/99-sonarqube.conf (or /etc/sysctl.conf as you wish) to reflect these values.

If the user running SonarQube (sonarqube in this example) does not have the permission to have at least 65536 open descriptors, you must insert this line in /etc/limits.d/99-sonarqube.conf (or /etc/limits.conf as you wish) :


코드 블럭
sonarqube   -   nofile   
sonarqube   -   nofile   
65536


You can get more detail in the Elasticsearch documentation.