.BuildServer/system/caches/search/segments_6sa (No such file or directory) error in server log

I'm using TeamCity Version 5.1.5 (build 13602).
And my teamcity-server.log is just flooded with this error:


[2010-12-08 15:39:57,660]   WARN -   jetbrains.buildServer.SERVER - java.io.FileNotFoundException: /root/.BuildServer/system/caches/search/segments_6sa (No such file or directory)
[2010-12-08 15:39:57,661]  ERROR - erverSide.search.SearchService - SearchService.enqueueHistory
java.io.FileNotFoundException: /root/.BuildServer/system/caches/search/segments_6sa (No such file or directory)
        at java.io.RandomAccessFile.open(Native Method)
        at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
        at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput$Descriptor.<init>(SimpleFSDirectory.java:78)
        at org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.<init>(SimpleFSDirectory.java:108)
        at org.apache.lucene.store.SimpleFSDirectory.openInput(SimpleFSDirectory.java:65)
        at org.apache.lucene.store.FSDirectory.openInput(FSDirectory.java:691)
        at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:236)
        at org.apache.lucene.index.DirectoryReader$1.doBody(DirectoryReader.java:72)
        at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:704)
        at org.apache.lucene.index.DirectoryReader.open(DirectoryReader.java:69)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:476)
        at org.apache.lucene.index.IndexReader.open(IndexReader.java:314)
        at jetbrains.buildServer.serverSide.search.SearchService.getIndexSearcher(SearchService.java:451)
        at jetbrains.buildServer.serverSide.search.SearchService.enqueueHistory(SearchService.java:515)
        at jetbrains.buildServer.serverSide.search.BackgroundIndexer.run(BackgroundIndexer.java:32)
        at java.lang.Thread.run(Thread.java:662)

What is segments_6sa?

Server is working fine, but this error makes it hard to read server log.

2 comments

Mikhail,

Seems http://youtrack.jetbrains.net/issue/TW-10093 to address the this issue.

The recommended way clean the directory and then start the server again. Please note that after restart the all the builds in the history will be re-indexed for search and this can general some load on the server until the indexes are rebuilt.



Kind regards,
Marina
0

I cleaned .BuildServer/system/caches/search dir and restarted the server. Now everything is working fine. Thanks.

0

Please sign in to leave a comment.