JIRA notification mail stuck in queue

Luc St-Laurent December 18, 2012

Hi,

We have a probleme with the notification mail in JIRA 5.2.

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

  • The Mail Queue service is set to 1 min.
  • The SMTP test work fine
  • JIRA is running within a VM on Windows (dont have the "time jump" issue in the log).
  • I don't have any mail related error in log.
  • JIRA have enought ressources

Do you have any solutions ?

Thank you :)

Luc

8 answers

1 accepted

1 vote
Answer accepted
Luc St-Laurent January 8, 2013

The memory can be checked on $JIRA_HOME/bin/setenv.bat. Increase the following argument:

  • JVM_MAXIMUM_MEMORY
    This will require your JIRA to be restarted.

I increased JVM_MAXIMUM_MEMORY from 746m to 1256m.

:)

4 votes
Emre Toptancı [OBSS]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 23, 2014

We hit the same problem and could not restart JIRA (business limitations)

It turns out the mail queue has crashed. Changing interval of mail queue service to some other value forced it to to restart and it started working right away without a complete JIRA restart

Joseph Boulos September 15, 2014

That did it for me. Perfect.

BlinkTwice September 1, 2016

I experienced a stuck mail queue after upgrading from 6.4 to 7.1.9 and a quick change of the mail queue service schedule fixed it. Thanks.

1 vote
John Chin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 6, 2013

Hi Luc,

Based on this KB, to disable the time synchronize with time server, please see:

  1. For Microsoft : http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/windows_date_turn_off_synch.mspx?mfr=true
  2. For Linux : http://ubuntuforums.org/showthread.php?t=1335737

Hope its help.

1 vote
Rahul Aich [Nagra]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 19, 2012
0 votes
Luc St-Laurent April 28, 2013

Hi Pavel,

I think it was a plugin problem.

I disabled all plugin and I reactivated one by one and i tested.

An SVN plugin took too many resources.

You can also try to increase the JVM_MAXIMUM_MEMORY.

I hope it can help you.

Pavel Stepanov April 28, 2013

Thanks, Luc. Will try the same.

0 votes
Pavel Stepanov April 28, 2013

Hi Luc,

I'm just curious if you managed to resolve this issue? It seems that I've faced exactly the same problem.

0 votes
darylchuah
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 6, 2013

Hi there

You can double click on the bottom right corner the data/time area, then a Date and Time window will popup

Under Internet Time tab, click on "Change settings", uncheck the "Synchronize with an Internet time server" option and click OK.

Regards

Daryl Chuah

Luc St-Laurent January 6, 2013

Hi,

I tought it was a setting in JIRA, not a server setting.

The time is synchronized with a NTP service.

Any other idea ?

Ty :)

Luc St-Laurent January 6, 2013

My server is not synchronize with an internet time server.

0 votes
Luc St-Laurent January 6, 2013

I've read this post.

I don't have the "time jump" issue in the log.

How can i Disable time synchronization with time server. ?

Thank you :)

Suggest an answer

Log in or Sign up to answer