JIRA notification mail queue is hung in 5.1.3

After JIRA upgrade to 5.1.3 from 4.4.1, we don't get any notifications from JIRA.

When I went through mail queue, there was more than 1000 mails. I had to flush the queue to get mails delivered.

Is this a bug in 5.1.3 ? or should I make any changes in config ? Now, I am flushing mail queue once in an hour.

5 answers

1 accepted

Hi Luc

My issue was I had copied crowd-client jar file from my old JIRA instance. But for JIRA 5.1.x, it required new crowd-client jar file. Since I replaced this new file with old one, crowd sync worked abnormally. Which made the mail queue hung as both of these processes use same quartz service.

I could fix this issue when I copied the new crowd-client jar file

Hi Vishnu,

It's a fresh install of JIRA 5.2.

Luc

0 votes
Janet Albion Atlassian Team Oct 15, 2012

You can start by checking the following:

  • if there is Mail Queue service exist in the Administrations > Services
  • check the delay for the Mail Queue service
  • if JIRA is running within a Virtual Machine using RHEL, there is a known bug in the Redhat kernel which can generate a "time jump". Accessing the time kernel API can cause this problem. https://confluence.atlassian.com/display/JIRAKB/Mail+Queue+Never+Flushed+Automatically
  • check if there any error thrown in the JIRA logs
  • check if JIRA has sufficient resource (eg: memory) in the server

Check if the upgrade process is not affected by https://confluence.atlassian.com/display/JIRAKB/JIRA+Upgrade+Fails+with+Invalid+Column+Name+Error

Hi,

We have the same problem on JIRA 5.2.

The notification mail are stock in queue. The only way to send notification is to manualy flush mail queu or restart JIRA service.

  • The Mail Queue service is set to 1 min.
  • My JIRA is running within a VM on Windows but i dont have the "time jump" issue in the log.
  • I don't have mail related error in log.
  • JIRA have enought ressources

Do you have any solutions ?

Thank you :)

Better create a support ticket. They can rectify this by enabling debug logs for mail queue.

Hi Vishnu,

It's a fresh install of JIRA 5.2.

Luc

I'm curious if you ever got a decent answer to this. Related issues seem to be:

https://answers.atlassian.com/questions/72219/jira-5-0-email-delays

https://answers.atlassian.com/questions/125255/jira-email-delays

https://answers.atlassian.com/questions/201474/is-there-a-way-to-modify-the-threadcount-of-the-quartz-scheduler-in-jira

I'm seeing similar behavior, and so far my hacky solution has been to automate the pressing of the mail queue flush button once a minute. But next I'm looking at the quartz scheduler, as the third URL suggests.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,156 views 13 19
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot