Hello Atlassian administrators,
Has anybody used JMX to monitor JIRA performance?
I have added the JVM extra args: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=#### -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.password.file=../conf/jmxremote.password -Dcom.sun.management.jmxremote.access.file=../conf/jmxremote.access
Our server is hosted on an AWS instance and I have all the ports necessary ports open.
I can telnet into that port but can't connect (secure or insecure) using jconsole from the same computer.
My password has a '$' in it; could that be interfering? Any ideas how to debug this? I don't see logs for JMX...
I had to add the -Dcom.sun.management.jmxremote.rmi.port and force it to use IPv4 (-Djava.net.preferIPv4Stack=true).
Setting both of those up let us setup a non-SSL connection between jconsole and the JIRA server.
Thank you for all your help.
You might check the related answer post below for some additional settings which might be missing:
In addition to that, you may also consider using a plugin for monitoring, such as Java Melody.
I hope this information helps.
Hey Zhen Zhang, This is what my JVM_EXTRA_ARGS line looks like:
JVM_EXTRA_ARGS="-XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -verbose:gc -Xloggc:/apps/atlassian/jira-data-507/log/atlassian-jira-gc-$(date +%Y-%m-%d_%H%M).log -XX:+UseParNewGC -XX:+UseAdaptiveGCBoundary -XX:NewSize=2048m -XX:+UseCompressedOops -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8090 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.access.file=/apps/atlassian/jira-server/conf/jmxremote.access -Dcom.sun.management.jmxremote.password.file=/apps/atlassian/jira-server/conf/jmxremote.password -Djava.net.preferIPv4Stack=true -Dcom.sun.management.jmxremote.rmi.port=8090"
You setup the JVM_EXTRA_ARGS line in <JIRA_INSTALL>/bin/setenv.sh (.bat depending on what platform you are on). Hope that helps.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs