Professional Documents
Culture Documents
Frewq Part1
Frewq Part1
On this page
Prerequisite
You must be able to install Java (Oracle JRE or OpenJDK) on the machine
where you plan to run SonarQube.
Hardware requirements
1. A small-scale (individual or small team) instance of the SonarQube server
requires at least 2GB of RAM to run efficiently and 1GB of free RAM for the
OS. If you are installing an instance for a large team or an enterprise, please
consider the additional recommendations below.
2. The amount of disk space you need will depend on how much code you
analyze with SonarQube.
3. SonarQube must be installed on hard drives that have excellent read &
write performance. Most importantly, the "data" folder houses the
Elasticsearch indices on which a huge amount of I/O will be done when the
server is up and running. Read and write hard drive performance will
therefore have a big impact on the overall SonarQube server performance.
16GB of RAM For additional requirements and recommendations relating to database and Elasticsearch, see Hardware recom
Supported platforms
Java
Both the SonarQube server and the SonarQube scanners require Java version 11
or 17.
SonarQube is able to analyze any kind of Java source files regardless of the
version of Java they comply with.
We recommend using the critical patch update (CPU) releases.
Java
Oracle JRE
OpenJDK
Database
PostgreSQL
Microsoft SQL Server
Oracle
Oracle
Web browser
To get the full experience SonarQube has to offer, you must enable JavaScript
in your browser.
Browser
Microsoft Edge
Mozilla Firefox
Mozilla Firefox
Google Chrome
Opera
Safari
Platform notes
Linux
sysctl vm.max_map_count
sysctl fs.file-max
ulimit -n
ulimit -u
You can set them dynamically for the current session by running the following
commands as root:
sysctl -w vm.max_map_count=524288
sysctl -w fs.file-max=131072
ulimit -n 131072
ulimit -u 8192
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
permission to have at least 131072 open descriptors, you must insert this line
in /etc/security/limits.d/99-sonarqube.conf (or /etc/security/limits.conf as
you wish):
[Service]
...
LimitNOFILE=131072
LimitNPROC=8192
...
seccomp filter
By default, Elasticsearch uses seccomp filter. In most distributions, this feature is activated in the kernel, however on distributi
sonar.search.javaAdditionalOpts=-Dbootstrap.system_call_filter=false
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_SECCOMP_FILTER=y
CONFIG_SECCOMP=y
Fonts
Generating executive reports requires that fonts be installed on the server hosting SonarQube. On Windows servers, this is a g
The following should be ensured:
A package of FreeType fonts is installed on the SonarQube server. The exact packages available will vary by distribution, but
FIPS
SonarQube will not run on Linux hosts where FIPS (Federal Information
Processing Standard) is enforced.
1202 1203 1204 1205 1206 1207
Server Scanners
1.40024E+71 1.401405E+71 1.40257E+71 1.403735E+71 1.4049E+71 1.406065E+71
1.406541E+73 1.407711E+73 1.408881E+73 1.410052E+73 1.411222E+73 1.412392E+73
17 17
11 11
8 8
17 17
11 11
8 8
15
14
13
12
11
Must be
configured
to use
UTF-8
charset
2019
(MSSQL
Server
15.0) with
bundled
Microsoft
JDBC
driver.
Express
Edition is
supported.
2017
(MSSQL
Server
14.0) with
bundled
Microsoft
JDBC
driver.
Express
Edition is
supported.
2016
(MSSQL
Server
13.0) with
bundled
Microsoft
JDBC
driver.
Express
Edition is
supported.
2014
(MSSQL
Server
12.0) with
bundled
Microsoft
JDBC
driver.
Express
Edition is
supported.
Collation
must be
case-
sensitive
(CS) and
accent-
sensitive
(AS)
(example:
Latin1_G
eneral_C
S_AS).
READ_COM
MITTED_S
NAPSHOT
must be set
on the
SonarQube
database to
avoid
potential
deadlocks
under
heavy load.
Both Windows authentication (“Integrated Security”) and SQL Server authentication are supported. See the Microsoft SQL Se
19C
18C
12C
XE
Editions
Must be
configured
to use a
UTF8-
family
charset
(see NLS_C
HARACTER
SET).
The
driver ojd
bc14.jar
is not
supported.
We
recommen
d using the
latest
Oracle
JDBC
driver.
Only the
thin mode
is
supported,
not OCI.
Only MAX_
STRING_S
IZE=STAN
DARD para
meter is
supported,
not EXTEN
DED.
Latest
Latest
Latest
Not tested
Latest
1208 1209 1210 1211 1212 1213 1214
123453.05
12400858.873
1245666274
125127177197
1.256902E+13
1.262559E+15
1.26824E+17
1.273947E+19
1.27968E+21
1.285438E+23
1.291223E+25
1.297033E+27
1.30287E+29
1.308733E+31
1.314622E+33
1.320538E+35
1.326481E+37
1.33245E+39
1.338446E+41
1.344469E+43
1.350519E+45
1.356596E+47
1.362701E+49
1.368833E+51
1.374993E+53
1.38118E+55
1.387396E+57
1.393639E+59
1.39991E+61
1.40621E+63
1.412538E+65
1.418894E+67
1.425279E+69
1.431693E+71
1.438136E+73