com.jaeksoft.searchlib.SearchLibException

java.io.IOException: Already open for read

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via opensearchserve by ale-ale
    , 1 year ago
    java.io.IOException: Already open for read
  • The build is already running
  • via opensearchserve by tahattmeruh
    , 1 year ago
    The optimization is already running
  • Stack trace

    • com.jaeksoft.searchlib.SearchLibException: java.io.IOException: Already open for read at com.jaeksoft.searchlib.crawler.web.database.UrlManager.updateCrawlTarget(UrlManager.java:638) at com.jaeksoft.searchlib.crawler.web.database.UrlCrawlQueue.updateCrawls(UrlCrawlQueue.java:192) at com.jaeksoft.searchlib.crawler.web.database.UrlCrawlQueue.indexWork(UrlCrawlQueue.java:167) at com.jaeksoft.searchlib.crawler.common.process.CrawlQueueAbstract.index(CrawlQueueAbstract.java:128) at com.jaeksoft.searchlib.crawler.web.process.WebCrawlMaster.runner(WebCrawlMaster.java:158) at com.jaeksoft.searchlib.process.ThreadAbstract.run(ThreadAbstract.java:263) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.io.IOException: Already open for read at com.jaeksoft.searchlib.cluster.VersionFile.lock(VersionFile.java:67) at com.jaeksoft.searchlib.index.IndexLucene.updateDocuments(IndexLucene.java:300) at com.jaeksoft.searchlib.Client.updateDocuments(Client.java:129) at com.jaeksoft.searchlib.crawler.web.database.UrlManager.updateCrawlTarget(UrlManager.java:619) ... 8 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.