Confluence Queue Contents not flushing on own


Anyone else seen this? We are running Confluence 4.2.2. Today we noticed that things were not updating on our pages and blogs. We checked the Queue Contents and it was not flushing on it's own. We have a scheduled job to flush every minute, and the task says it's doing it (as long as we are talking about the "Flush Index Queue), but the queue is not being flushed. Oh, and the mail queue also isn't flushing. Any thoughts - anyone seen this happen?? It just seemed to stop on it's own, we have not had any problems before this.


4 answers

1 accepted

3 votes
Accepted answer

I think we solved this. I restarted confluence and then did a search re-index. At 98% of the re-index, an exception was thrown regarding the "too many files open" problem.

20:54:59,954 ERROR [STDERR] org.apache.lucene.index.MergePolicy$MergeException: /export/atlassian/confluence/4.2.2/core/data/temp/lucene5020753486088339503index/_8h.fnm (Too many open files)

We were familar with this problem, but thought it had been addressed with our newer version of confluence (we went from 3.3.1 to 4.2.2). Also for reference, we run on JBoss 4.2.3 and are running Confluence 4.2.2 with Oracle 11g.

So, I added to our start script: ulimit -n 10000

After that restart, I did the re-index and it completed successfully with no errors. Since that restart, the queues have been flushing normally on the 1 minute schedule.

I'm not completely sure why the open file limit would affect the queue flushing, and it could have been just the restarts that did the trick, but we are running normally again.

I saw this with comments. I'd be interested in anyone has a workaround.

We just restarted Confluence and it seemed to fix the issue.

When we restarted the confluence , it fixed the issue for two days and today on the third day it is back again.. and I did rebuild the index from scratch also after restarting the service. any idea about the resolution.. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,098 views 56 8
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