Hi,
this issue caused a standstill of our JIRA. Max. open files limit was set to 10240 and the process never reached more than 2000 open files at once.
Catalina.out showed this error after every Index run of UseTFS during the day.
ERROR - com.pigsty.jira.plugins.usetfs.revision.RevisionIndexer - Exception while indexing
com.atlassian.jira.issue.index.IndexException: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/usr/local/jira_home/caches/indexes/plugins/usetfs-changesets/write.lock
at com.pigsty.jira.plugins.usetfs.revision.DefaultLuceneIndexAccessor.getIndexWriter(DefaultLuceneIndexAccessor.java:41)
at com.pigsty.jira.plugins.usetfs.revision.RevisionIndexer.addRevisionsToRepository(RevisionIndexer.java:674)
at com.pigsty.jira.plugins.usetfs.revision.RevisionIndexer.updateIndex(RevisionIndexer.java:436)
at com.pigsty.jira.plugins.usetfs.revision.RevisionIndexService$1.run(RevisionIndexService.java:117)
Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/usr/local/jira_home/caches/indexes/plugins/usetfs-changesets/write.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:84)
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1115)
at com.pigsty.jira.plugins.usetfs.revision.DefaultLuceneIndexAccessor.getIndexWriter(DefaultLuceneIndexAccessor.java:37)
... 3 more
This caused the process to reach the limit of 10240 open files at the end of the day.
we are using UseTFS version 2.10.3.
Is this a known issue?
Sorry to hear that. Somehow we've lost notifications from Atlassian Answers so we were not aware of any issues registered here.
A bit late, we have no more logs of this day. We disabled the sync from work items back to TFS, because this never worked really well. Since than this error didn't appear again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.