aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-22 15:58:30 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2016-07-22 15:58:30 +0200
commit97fae6de6b4edb242575ee19e099597d44a79541 (patch)
tree2d41288f63aef361947e1d16dff2e81fa0983249 /sonar-application
parent412ab70d2dc1f908745ed50de72f58eb276fe715 (diff)
downloadsonarqube-97fae6de6b4edb242575ee19e099597d44a79541.tar.gz
sonarqube-97fae6de6b4edb242575ee19e099597d44a79541.zip
Document entropy source in sonar.properties
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/src/main/assembly/conf/sonar.properties4
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties
index 73bb3d49363..f2912583808 100644
--- a/sonar-application/src/main/assembly/conf/sonar.properties
+++ b/sonar-application/src/main/assembly/conf/sonar.properties
@@ -88,6 +88,10 @@
# is not enabled by default on your environment:
# http://docs.oracle.com/javase/8/docs/technotes/guides/vm/server-class.html
#
+# Startup can be long if entropy source is short of entropy. Adding
+# -Djava.security.egd=file:/dev/./urandom is an option to resolve the problem.
+# See https://wiki.apache.org/tomcat/HowTo/FasterStartUp#Entropy_Source
+#
#sonar.web.javaOpts=-Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError
# Same as previous property, but allows to not repeat all other settings like -Xmx