Re-indexing causes time out

Hi there,

Our customer has found out following error is recorded in the log.

Regarding this,

1) What does this error stand for?

2) What is "Threshold" parameter about? It seems this has something to do with re-indexing.

If you have an idea, please let me know.

atlassian-jira.log(78878): 2012-12-05 16:45:59,796 http-8080-13 INFO 0000106263

1005x251702x1 j5r05q <masked IP address> /secure/EditIssue.jspa [jira.issue.
index.DefaultIndexManager] Optimizing the index because 4000 issues have been re-
indexed since last optimize. Threshold is 4000.


atlassian-jira.log(78879): 2012-12-05 16:46:35,141 http-8080-40 ERROR 0000103356
1006x251776x2 1ee5bwn <masked IP address> /secure/EditIssue.jspa [jira.issue.
index.DefaultIndexManager] Wait attempt timed out - waited 30000 milliseconds
atlassian-jira.log(78880): com.atlassian.jira.issue.index.IndexException: Wait attempt
timed out - waited 30000 milliseconds


atlassian-jira.log(79018): 2012-12-05 16:46:35,161 http-8080-40 INFO 0000103356
1006x251776x2 1ee5bwn <masked IP address> /secure/EditIssue.jspa [jira.issue.
index.DefaultIndexManager] Optimizing the index because 4001 issues have been re-
indexed since last optimize. Threshold is 4000.


atlassian-jira.log(79019): 2012-12-05 16:46:37,024 http-8080-50 ERROR 0000112279
1006x251780x4 px3dv6 <masked IP address> /secure/AssignIssue.jspa [jira.issue.
index.DefaultIndexManager] Wait attempt timed out - waited 30000 milliseconds

Regards,

Daisuke Niwa

2 answers

1 accepted

The error -

Optimizing the index because 4000 issues have been re-
indexed since last optimize. Threshold is 4000.

Basically the optimzing has caused the thread to time out, because of large JIRA instances.

The second error -

Wait attempt
timed out - waited 30000 milliseconds

This is caused because of JIRA acquiring the lock on Lucene index. Please find the detailed documentation here.

You can solve this problem by increasing the waittime, following the steps provided in the documentation.

I have this same problem. Whenever I see this message in the log, com.atlassian.jira.issue.index.IndexException: Wait attempt timed out - waited 30000 milliseconds, I can guarantee that Jira is locked up for everyone and I need to restart. When this happens there is always 1 CPU at 100% utilization and doesnt go away. I believe I have ample specs on our Jira server with 4 CPU and 10 GB Ram (5 alocated to JVM) so I would doubt its a resource issue. This seems to happen to us about once per month. Whenever I take a thread dump I see several threads blocked on the NextPreviousPager. It looks like there is a bug on this. JRA-21557. Any insight into what is causing the hang?

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,308 views 14 20
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