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.
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: java.io.FileNotFoundException: /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.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
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!
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