persistent severe exception with large repository #3972
Unanswered
jamesosbourn
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking for some help if this is a known issue.
I am running the opengrok container version1.7.31 and seeing a persistent crash working with one of our repositories, the message we are getting from the container log is
24-May-2022 16:24:19.955 SEVERE [ForkJoinPool-4-worker-3] org.opengrok.suggest.SuggesterProjectData.initSearchCountMap Could not create ChronicleMap for field defs in directory /opengrok/data/suggester/repository , most popular completion disabled, if you are using JDK9+ make sure to specify: --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED java.lang.IllegalStateException: Shutdown in progress at net.openhft.chronicle.hash.impl.ChronicleHashCloseOnExitHook.add(ChronicleHashCloseOnExitHook.java:39) at net.openhft.chronicle.hash.impl.VanillaChronicleHash.addToOnExitHook(VanillaChronicleHash.java:505) at net.openhft.chronicle.map.ChronicleMapBuilder.prepareMapPublication(ChronicleMapBuilder.java:1778) at net.openhft.chronicle.map.ChronicleMapBuilder.createWithFile(ChronicleMapBuilder.java:1753) at net.openhft.chronicle.map.ChronicleMapBuilder.createPersistedTo(ChronicleMapBuilder.java:1593) at net.openhft.chronicle.map.ChronicleMapBuilder.createOrRecoverPersistedTo(ChronicleMapBuilder.java:1614) at net.openhft.chronicle.map.ChronicleMapBuilder.createOrRecoverPersistedTo(ChronicleMapBuilder.java:1604) at net.openhft.chronicle.map.ChronicleMapBuilder.createOrRecoverPersistedTo(ChronicleMapBuilder.java:1598) at org.opengrok.suggest.popular.impl.chronicle.ChronicleMapAdapter.<init>(ChronicleMapAdapter.java:55) at org.opengrok.suggest.SuggesterProjectData.initSearchCountMap(SuggesterProjectData.java:314) at org.opengrok.suggest.SuggesterProjectData.rebuild(SuggesterProjectData.java:241) at org.opengrok.suggest.Suggester.lambda$getRebuildRunnable$2(Suggester.java:352) at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
I have tried adding the arguments as suggested which seems to have made no difference.
This is a large repo and takes some time to complete its index, although the server never runs for long enough to complete this.
Can anyone offer any suggestions as to the cause of this exception and how I could prevent it from taking place. Should I raise this as an issue?
Many Thanks
Beta Was this translation helpful? Give feedback.
All reactions