You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2017/03/23 03:33:32 UTC

[1/2] activemq-artemis git commit: This closes #1113

Repository: activemq-artemis
Updated Branches:
  refs/heads/master 3ed795e74 -> a03c61fc7


This closes #1113


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/a03c61fc
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/a03c61fc
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/a03c61fc

Branch: refs/heads/master
Commit: a03c61fc7b9750339f53e2d5a8ce4ec1da580941
Parents: 3ed795e 02561f2
Author: Clebert Suconic <cl...@apache.org>
Authored: Wed Mar 22 23:33:25 2017 -0400
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Mar 22 23:33:25 2017 -0400

----------------------------------------------------------------------
 .../apache/activemq/artemis/cli/commands/etc/artemis.profile | 8 ++++++++
 .../activemq/artemis/cli/commands/etc/artemis.profile.cmd    | 7 +++++++
 2 files changed, 15 insertions(+)
----------------------------------------------------------------------



[2/2] activemq-artemis git commit: ARTEMIS-1054 JVM Monitoring pauses logs

Posted by cl...@apache.org.
ARTEMIS-1054 JVM Monitoring pauses logs


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/02561f23
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/02561f23
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/02561f23

Branch: refs/heads/master
Commit: 02561f23b4706100db588184a9ab166a44a2f3c4
Parents: 3ed795e
Author: Francesco Nigro <ni...@gmail.com>
Authored: Tue Mar 21 17:10:37 2017 +0100
Committer: Clebert Suconic <cl...@apache.org>
Committed: Wed Mar 22 23:33:25 2017 -0400

----------------------------------------------------------------------
 .../apache/activemq/artemis/cli/commands/etc/artemis.profile | 8 ++++++++
 .../activemq/artemis/cli/commands/etc/artemis.profile.cmd    | 7 +++++++
 2 files changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/02561f23/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile
----------------------------------------------------------------------
diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile
index ec26128..9e90174 100644
--- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile
+++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile
@@ -32,5 +32,13 @@ JAVA_ARGS="-XX:+PrintClassHistogram -XX:+UseG1GC -XX:+AggressiveOpts -XX:+UseFas
 #  JAVA_ARGS="$JAVA_ARGS -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.rmi.port=1098 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false"
 #fi
 
+#
+# Logs Safepoints JVM pauses: Uncomment to enable them
+# In addition to the traditional GC logs you could enable some JVM flags to know any meaningful and "hidden" pause that could
+# affect the latencies of the services delivered by the broker, including those that are not reported by the classic GC logs
+# and dependent by JVM background work (eg method deoptimizations, lock unbiasing, JNI, counted loops and obviously GC activity).
+# Replace "all_pauses.log" with the file name you want to log to.
+# JAVA_ARGS="$JAVA_ARGS -XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1 -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+LogVMOutput -XX:LogFile=all_pauses.log"
+
 # Debug args: Uncomment to enable debug
 #DEBUG_ARGS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/02561f23/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd
----------------------------------------------------------------------
diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd
index 8657584..a9c9985 100644
--- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd
+++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/etc/artemis.profile.cmd
@@ -29,5 +29,12 @@ rem There might be options that you only want to enable on specifc commands, lik
 rem See https://issues.apache.org/jira/browse/ARTEMIS-318
 rem if "%1"=="run" set JAVA_ARGS=%JAVA_ARGS% -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false
 
+rem Logs Safepoints JVM pauses: Uncomment to enable them
+rem In addition to the traditional GC logs you could enable some JVM flags to know any meaningful and "hidden" pause that could
+rem affect the latencies of the services delivered by the broker, including those that are not reported by the classic GC logs
+rem and dependent by JVM background work (eg method deoptimizations, lock unbiasing, JNI, counted loops and obviously GC activity).
+rem Replace "all_pauses.log" with the file name you want to log to.
+rem set JAVA_ARGS=%JAVA_ARGS% -XX:+PrintSafepointStatistics -XX:PrintSafepointStatisticsCount=1 -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime -XX:+LogVMOutput -XX:LogFile=all_pauses.log
+
 rem Debug args: Uncomment to enable debug
 rem set DEBUG_ARGS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005