diff options
author | colin-mueller-sonarsource <colin.mueller@sonarsource.com> | 2020-03-05 17:07:29 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2020-03-05 20:04:25 +0000 |
commit | 7f3dddb989f52fccb691220de39a690b0a68ed72 (patch) | |
tree | fb973cada561e8aef754669926ff3a992093c048 /server | |
parent | e42e569931baf23b20da3b00a21080e1d7181952 (diff) | |
download | sonarqube-7f3dddb989f52fccb691220de39a690b0a68ed72.tar.gz sonarqube-7f3dddb989f52fccb691220de39a690b0a68ed72.zip |
DOCS Simply Java Configuration Docs
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-docs/src/pages/setup/install-server.md | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/server/sonar-docs/src/pages/setup/install-server.md b/server/sonar-docs/src/pages/setup/install-server.md index 95b3cee766a..d8d5c8aae55 100644 --- a/server/sonar-docs/src/pages/setup/install-server.md +++ b/server/sonar-docs/src/pages/setup/install-server.md @@ -129,14 +129,6 @@ You can now browse SonarQube at _http://localhost:9000_ (the default System admi ### Tuning the Web Server -By default, SonarQube is configured to run on any computer with a simple Java JRE. - -For better performance, the first thing to do when installing a production instance is to use a Java JDK and activate the server mode by uncommenting/setting the following line in _$SONARQUBE-HOME/conf/sonar.properties_: - -``` -sonar.web.javaOpts=-server -``` - To change the Java JVM used by SonarQube, simply edit _$SONARQUBE-HOME/conf/wrapper.conf_ and update the following line: ``` @@ -147,6 +139,7 @@ wrapper.java.command=/path/to/my/jdk/bin/java - Running SonarQube as a Service on [Windows](/setup/operate-server/) or [Linux](/setup/operate-server/) - Running SonarQube [behind a Proxy](/setup/operate-server/) +- Monitoring and adjusting [Java Process Memory](/instance-administration/monitoring/) - Running SonarQube Community Edition with [Docker](https://hub.docker.com/_/sonarqube/) ## Installing the Server from the Docker Image @@ -250,14 +243,6 @@ Once your server is installed and running, you may also want to [Install Plugins ## Troubleshooting/FAQ -### Grant more memory to the web server / compute engine / elastic search - -To grant more memory to a server-side process, uncomment and edit the relevant javaOpts property in `$SONARQUBE_HOME/conf/sonar.properties`, specifically: - -- `sonar.web.javaOpts` (minimum values: `-server -Xmx768m`) -- `sonar.ce.javaOpts` -- `sonar.search.javaOpts` - ### Failed to start SonarQube with Oracle due to bad `USERS` table structure When other `USERS` tables exist in the Oracle DB, if the `sonarqube` user has read access on this other `USERS` table, the SonarQube web server can't start and an exception like the following one is thrown: |