Jira Diagnostics & Troubleshooting

Logged On Users

The current logged in users are shown on the page: <Jira_Base_URL>secure/admin/CurrentUsersList.jspa

https://community.atlassian.com/t5/Jira-Questions/Currently-logged-in-users/qaq-p/388195

Jira Logs

/var/atlassian/application-data/jira/log

Remember to check this location on all Jira nodes.

atlassian-jira.log

java.net.NoRouteToHostException: No route to host (Host unreachable)This is often caused by a removed cluster node. Jira still tries to connect to it even though it no longer exists.
WARN user@domain.co.uk  [c.a.jira.ofbiz.ConnectionPoolHealthSqlInterceptor] Dangerous use of multiple connections: taken => count=3; marks=[2-3]; pool=5/20WARN user@domain.co.uk  [c.a.jira.ofbiz.ConnectionPoolHealthSqlInterceptor] Dangerous use of multiple connections: replaced => count=2; marks=[1-3]; pool=2/20WARN user@domain.co.uk  [c.a.jira.ofbiz.ConnectionPoolHealthSqlInterceptor] Dangerous use of multiple connections: replaced => count=1; marks=[0-3]; pool=1/20WARN anonymous     [c.a.jira.ofbiz.ConnectionPoolHealthSqlInterceptor] Dangerous use of multiple connections: replaced => count=0; marks=[-1-3]; pool=0/20

insight_import.log

audit

/var/atlassian/application-data/jira/log/audit

{"affectedObjects":[{"name":"myoldadmingroup","type":"GROUP"},{"id":"JIRAUSER99999","name":"auser@mycompany.com","type":"USER"}],"auditType":{"action":"User removed from group","actionI18nKey":"jira.auditing.user.removed.from.group","area":"USER_MANAGEMENT","category":"group management","categoryI18nKey":"jira.auditing.category.groupmanagement","level":"BASE"},"author":{"id":"-2","name":"Anonymous","type":"user"},"changedValues":[],"extraAttributes":[{"name":"Load balancer/proxy IP address","nameI18nKey":"atlassian.audit.event.attribute.forwarder","value":"10.111.111.111"}],"method":"Browser","node":"i-0e971a3635a559df0","source":"49.111.111.111","system":"https://jiraservicedesk.mycompany.com","timestamp":{"epochSecond":1680012643,"nano":114000000},"version":"1.0"}{"affectedObjects":[{"name":"myadmingroup","type":"GROUP"},{"id":"JIRAUSER99999","name":"auser@mycompany.com","type":"USER"}],"auditType":{"action":"User added to group","actionI18nKey":"jira.auditing.user.added.to.group","area":"USER_MANAGEMENT","category":"group management","categoryI18nKey":"jira.auditing.category.groupmanagement","level":"BASE"},"author":{"id":"10401","name":"myuser@mycompany.com","type":"ApplicationUser","uri":"/secure/ViewProfile.jspa?name=myuser@mycompany.com"},"changedValues":[],"extraAttributes":[{"name":"Load balancer/proxy IP  address","nameI18nKey":"atlassian.audit.event.attribute.forwarder","value":"10.111.111.111"}],"method":"Browser","node":"i-0e971a3635a559df0","source":"200.111.111.111","system":"https://jiraservicedesk.mycompany.com","timestamp":{"epochSecond":1680014507,"nano":830000000},"version":"1.0"}

In the example above we see that...

Jira HealthCheck

HealthCheck: Shared Home

This is an issue related to /media/atl/jira/shared...

HealthCheck: Cluster Index Replication

Case Studies

Http error in catalina.out

Http error: Connection timed out (Connection timed out)Http error: Connection timed out (Connection timed out)Http error: myapp1.mydomain.comHttp error: myapp2.mydomain.comHttp error: myapp3.mydomain.com

Check whether any Assets/Insight objects have the URL Ping service enabled using this SQL...

SELECT "ID",

       "NAME",

       "OBJECT_TYPE_ID",

       "ADDITIONAL_VALUE",

       "DEFAULT_TYPE_ID"

  FROM "AO_8542F1_IFJ_OBJ_TYPE_ATTR"

 WHERE "DEFAULT_TYPE_ID"=7 

   AND "ADDITIONAL_VALUE"='ENABLED';

DEFAULT_TYPE_ID
  • 0=Text
  • 7=URL

If URL Ping is enabled but the URLs are not reachable from Assets/Insight, you might see the errors above.

Bibliography

https://confluence.atlassian.com/adminjiraserver/important-directories-and-files-938847744.html
https://community.atlassian.com/t5/Jira-Software-questions/remove-growing-log-files/qaq-p/1647356https://confluence.atlassian.com/support/create-a-support-zip-790796819.htmlhttps://www.epochconverter.com/
Performancehttps://confluence.atlassian.com/enterprise/jira-data-center-size-profiles-955171062.htmlhttps://confluence.atlassian.com/adminjiraserver/performance-and-scale-testing-965568707.htmlhttps://confluence.atlassian.com/kb/performance-troubleshooting-tools-best-practice-652444218.htmlhttps://confluence.atlassian.com/jirakb/using-jvmtop-to-analyze-jira-performance-740098869.html
https://confluence.atlassian.com/enterprise/performance-testing-framework-for-confluence-935577039.htmlhttps://confluence.atlassian.com/enterprise/confluence-data-center-sample-performance-test-946041232.htmlhttps://confluence.atlassian.com/enterprise/data-center-performance-monitoring-946040739.html
https://www.adaptavist.com/blog/performance-tuning-atlassian-3-use-a-reverse-proxy/https://www.adaptavist.com/blog/monitoring-atlassian-performance-tuning-4/
Monitoringhttps://confluence.atlassian.com/enterprise/jira-data-center-sample-deployment-and-monitoring-strategy-953148860.htmlhttps://confluence.atlassian.com/enterprise/getting-started-with-data-center-monitoring-946040846.htmlhttps://confluence.atlassian.com/enterprise/tools-for-monitoring-your-data-center-application-942851919.htmlhttps://confluence.atlassian.com/enterprise/data-center-performance-monitoring-946040739.html
JMX/Zabbixhttps://confluence.atlassian.com/doc/live-monitoring-using-the-jmx-interface-150274182.htmlhttps://confluence.atlassian.com/adminjiraserver/live-monitoring-using-the-jmx-interface-939707304.htmlhttps://docs.oracle.com/javase/7/docs/technotes/guides/management/agent.html
HealthCheckhttps://confluence.atlassian.com/enterprise/jira-data-center-health-check-tools-644580752.html
HealthCheck: Shared Homehttps://confluence.atlassian.com/jirakb/healthcheck-shared-home-738722489.html
CloudFormationhttps://confluence.atlassian.com/jirakb/how-to-remove-the-bastion-host-from-an-existing-aws-quick-start-deployment-1005337522.htmlhttps://aws.amazon.com/premiumsupport/knowledge-center/cloudformation-stack-export-name-error/
504 Gateway Time-outhttps://community.atlassian.com/t5/Jira-questions/504-Gateway-Time-out-when-logging-into-to-JIRA/qaq-p/1204291
Support Ziphttps://confluence.atlassian.com/support/create-a-support-zip-790796819.html