Recently i have observed that the notification emails are taking longer and longer to get delivered. The jira mail queue shows 1800 emails in the backlog, it tries to send email but very very slowly (JIRA scheduler is set to run every 60sec).
On some days, there is no backlog of emails but on other there is a huge backlog with delivery times of 3-4 hours.
I presume this is a case of email throttling at the exchange server, but how can i prove it?
Also is there a way i can find out number of emails jira is trying to send out at any point in time, it may be that jira is trying to send hundreds or emails in short space of time causing the exchange server to throttle (or limit the amount of emails it accepts for delivery)
Also, how many concurrent polling Mail Handler configurations do you have associateed with that mailserver / the same account as your outbound smtp? If you have high numbers, eg >30 you may well be experiencing scalability issues? Alternate configurations could improve this (reducing number of mailboxes), JEMH was also written to solve such scalability problems, and can now do a lot of mail routing, reducing the need for multiple mailboxes.
JIRA sends outbound mail one at a time. There is only one outbound mail queue, therefore, monitoring the outbound mail log will give you an accurate indication of what is going on, or not.
Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot