aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src/main/assembly/conf/sonar.properties
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-application/src/main/assembly/conf/sonar.properties')
-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