Service Desk queue creating thousands issues

Jira 6.1 using service desk. Issues are created via a mail handler. Something has created hundreds of thousands of issues. The emails are from an automated monitoring system and at one point on Monday there was a brief flood of emails caused by an outage, but since Monday evening there have only been 38 emails. Until I deleted the mail handler this morning the queue was jumping by 100s every few seconds. Anyone seen anything like this?

1 answer

1 accepted

Accepted Answer
1 vote
Daryl Chuah Atlassian Team Dec 25, 2013

Hi Jessica

I suspect it could be due to the automated monitoring system that causing the mail spamming activity, the 38 emails you are seeing is those emails which has not converted into issues by the JIRA mail handler. Therefore, you might want to check with the automated system whether is generating the correct and right amount of email and also if there is any mail spamming activity going on.

not the monitoring system - currenly that system still sends the emails to my inbox as well as Jira so I can QA my processes. out of the 260,000+ issues in my instance, there are 585 unique ones.

any help with how to go about analyzing what happened would be appreciated. particular log file to review perhaps?

If you have incoming mail logging turned on in your Logging & Profiling screen, you should be able to see some activity in atlassian-jira-incoming-mail.log.

[edit] If you don't have that turned on, you'll have to rely on your SMTP server logs.

thanks - the incoming mail logging is enabled (debugging is off) but i don't have that log file on the server

Can someone tell me the path for the mail log file? Should it be program files\atlassian\JIRA\.... ?

Yew Teck En Atlassian Team Dec 29, 2013

Hey Jessica, it should be in your <JIRA_HOME>/logs/ and some files name incomingmail.

If the contents is duplicate, there might be mail loop issue. Check out the following KB:

I found the logs - thank you. Not sure if the loop issue is what's occurring. I see a lot of instances :The folder has been closed on us, stop processing any more emails: Read timed out

Then repeated: Exception: Folder is not Open
java.lang.IllegalStateException: Folder is not Open

Exception: Folder is not Open
java.lang.IllegalStateException: Folder is not Open
at com.sun.mail.pop3.POP3Folder.checkOpen(
at com.sun.mail.pop3.POP3Folder.getProtocol(
at com.sun.mail.pop3.POP3Message.loadHeaders(
at com.sun.mail.pop3.POP3Message.getHeader(

BUT - they're throughout the log, not just during the time this issue was happening.

I don't see anything else outstanding in the log at the time this started.

I think - the messages flooded into the mailbox, because of the limits on the pop mail server it the connection closed and since the folder could not be opened, the messages did not get deleted and the cycle started of building issues in jira then erroring out again.

That's a very non-technical thought process I realize. In my environment this type of outage will occur again where I need several hundred emails processed quickly. Is it settings on the mail servers that need to be changed? Within Jira config?

Yew Teck En Atlassian Team Dec 31, 2013

JIRA side mail configuration options are quite limited as JIRA just fired the connection to the pop box and pull the mail for issue creation. The fix should be something to be venture in the mail server side.

As for the folder not open, it might be related to other mail handlers(check out the mail handler ID) which it might possible to cause issue not to be created in certain projects:

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

78 views 3 6
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