mail queue must be flushed manually otherwise email queue stopping sending email

my jira version is 4.4.1.

the jira mail queue suddenly stop sending these days

i shall flush the queue manually ,then it will send the mail queue .

i search for the problem on the internet,and it says the instance has hit an OutOfMemoryException.

i restart the jira,and it is ok now,but i do not know wether it will fail too at some time in the future

2 answers

This widget could not be displayed.

So, did you have OOM ? If yes, this is your problem, therefore you should increase your heap.

i don't know if jira has problem out of memory .on the mail queue page,many mails are in red color

Please take a look at you log-File (Where are the JIRA logs?) you should find something like this

java.lang.OutOfMemoryError: Java heap space

This widget could not be displayed.

This happen mostly due to Out of memory errors. Search for outofmemory on stdout log file.

You may treat the symptom by increasing the java heap space memory. But that would be a temporary solution.

You need to investigate on the root cause. The most common possibilities are:

1. 3rd party plugins

2. Custom services

3. XML back-up sucks a lot of memory if the production instance is huge

If these still does not resolve consider upgrading your jira instance as 4.4 is quite an old version and there were a lot of memory related fixes done by atlassian in the newer versions.

Also consider visiting this URL for more information.

https://confluence.atlassian.com/pages/viewpage.action?pageId=191069

1 in Atlassian/Application Data/JIRA/log/atlassian-jira.log file,i don't find any description about java heap space.but find the flowing error:

com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 554 5.1.0 Sender denied

2 on 'Mail Queue' page,find some mail items with red background,almost all these red background mail item are of the same reporter.


3 and i tried to send a Test Email to this user in 'System->Mail Servers->Send a Test Email'

An error has occurred with sending the test email:
com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 554 5.1.0 Sender denied
    at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:179)
    at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:93)
    at webwork.action.ActionSupport.execute(ActionSupport.java:165)
    at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:76)
    at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
    at An error has occurred with sending the test email:
com.atlassian.mail.MailException: com.sun.mail.smtp.SMTPSendFailedException: 554 5.1.0 Sender denied
    at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:179)
    at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:93)
    at webwork.action.ActionSupport.execute(ActionSupport.java:165)
    at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:76)
    at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39)
    at

can i guess it's the user's error count that cause JIRA's not send mail automatically?



This is what I found while looking for the error com.sun.mail.SMTPFailedException: 554. Try searching site:confluence.atlassian.com com.sun.mail.smtp.SMTPSendFailedException.

i disable the user account and restart jira. and now jira mail server is working .

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 3 hours ago in Featured Groups

Hi! I'm Cameron Deatsch, Head of Server at Atlassian and I'm hosting an AMA next week.

Hey team! I'm Cameron Deatsch, Head of Server at Atlassian. I'll be hosting an AMA over in our Questions section of the Community next Monday, so shoot me your questions, upvote others' question...

19 views 0 2
View post

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