JIRA Server Troubleshooting

Logs to check (installed on Ubuntu):

  • /opt/atlassian/jira/logs/catalina.out
  • /var/atlassian/application-data/jira/log/atlassian-jira.log

Look for any "error"-s in the above files.

If there's nothing, perhaps the kernel is killing off the Java process. Check:

  • /var/log/syslog

Example of the above:

Jan 24 12:25:52 zen-1 freshclam[31985]: Fri Jan 24 12:25:52 2020 -> Testing database: '/var/lib/clamav/tmp/clamav-22f84a98be913978dbf119b7a2ce0ee0.tmp-daily.cld' ...
Jan 24 12:26:05 zen-1 kernel: [4849075.194351] mysqld invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
Jan 24 12:26:05 zen-1 kernel: [4849075.194514] Tasks state (memory values in pages):
Jan 24 12:26:05 zen-1 kernel: [4849075.194515] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
...
Jan 24 12:26:05 zen-1 kernel: [4849075.194721] [  31862]  1001 31862  1001128   189498  3723264   173553             0 java
Jan 24 12:26:05 zen-1 kernel: [4849075.194753] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/system.slice/jira.service,task=java,pid=31862,uid=1001
Jan 24 12:26:05 zen-1 kernel: [4849075.194962] Out of memory: Killed process 31862 (java) total-vm:4004512kB, anon-rss:757992kB, file-rss:0kB, shmem-rss:0kB
Jan 24 12:26:05 zen-1 kernel: [4849075.391782] oom_reaper: reaped process 31862 (java), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB
Jan 24 12:26:05 zen-1 mysqld[1417]: 2020-01-24 12:26:05 140190285481728 [Warning] Aborted connection 43368 to db: 'jira' user: 'jira' host: 'localhost' (Got an error reading communication packets)
Jan 24 12:26:06 zen-1 freshclam[31985]: Fri Jan 24 12:26:06 2020 -> Database test passed.

As you can see, ClamAV virus db update/scan resulted in OOM so the kernel killed off the Java process.