Replies: 7 comments
-
I don't think skipped files lead to failure of the indexer as a whole. After all, these exceptions are swallowed: and the impact is on single document, not whole index. Could you run the indexer with the |
Beta Was this translation helpful? Give feedback.
-
We are getting below error now, Mar 16, 2021 2:25:58 PM org.opensolaris.opengrok.index.IndexDatabase$1 run |
Beta Was this translation helpful? Give feedback.
-
Um, we dropped the |
Beta Was this translation helpful? Give feedback.
-
Sorry, my bad my script pointing the old opengrok jar before. Now the indexing job getting struck after the below log, Can please help us with how to resolve this. 2021-03-21 14:07:34.745+0000 FINER t1 SystemPropertiesConfigurationModel.getProperties: System properties configuration provider not allowed 2021-03-21 14:07:34.746+0000 CONFIG t1 ExtendedLogger.config: Selected ExecutorServiceProvider implementation [org.glassfish.jersey.client.DefaultClientAsyncExecutorProvider] to be used for injection of executor qualified by [org.glassfish.jersey.client.ClientAsyncExecutor] annotation. Please find the below logs from tomcat, 15-Mar-2021 14:02:13.315 WARNING [Catalina-utility-2] org.opengrok.indexer.framework.PluginFramework.reload Plugin directory not found or not readable: /opengrok/data/../plugins. All requests allowed. The command we are using to index the projects is below, java -Djava.util.logging.config.file=/opengrok/etc/logging.properties -jar /opengrok/dist/lib/opengrok-1.6.0.jar -i *.js -r on -c /usr/local/bin/ctags -s /opengrok/src -d /opengrok/data -H -P -S -G -W /opengrok/etc/configuration.xml -U http://localhost:8080/source |
Beta Was this translation helpful? Give feedback.
-
If the indexer is indeed stuck (i.e. the process is still present however not progressing), could you capture the stack traces of the threads using The In overall, it would be handful to know what is it you are trying to do. Upgrading from old OpenGrok version to new one ? |
Beta Was this translation helpful? Give feedback.
-
We have migrating opengrok from old version to new version. We have installed new version opengrok in new server and while coping the scripts files new server we have also copied the old lib files. Our scripts pointed the old jar fils instead of new opengrok jar file. We have fixed that issue now. Please fins the stack traces of the threads below, "ForkJoinPool-1-worker-55" #411 daemon prio=5 os_prio=0 cpu=575.98ms elapsed=80.55s tid=0x00007fa5a8043810 nid=0x1cc4 waiting on condition [0x00007fa590ce7000] Locked ownable synchronizers: "ForkJoinPool-1-worker-41" #412 daemon prio=5 os_prio=0 cpu=638.78ms elapsed=80.55s tid=0x00007fa598012950 nid=0x1cc5 waiting on condition [0x00007fa590be6000] Locked ownable synchronizers: "ForkJoinPool-1-worker-37" #413 daemon prio=5 os_prio=0 cpu=0.27ms elapsed=80.53s tid=0x00007fa5a800f390 nid=0x1cc6 waiting on condition [0x00007fa590ae5000] Locked ownable synchronizers: "Lucene Merge Thread #0" #416 daemon prio=5 os_prio=0 cpu=55394.11ms elapsed=60.96s tid=0x00007fa5c80dcfe0 nid=0x1e15 runnable [0x00007fa597ffe000] Locked ownable synchronizers: "Lucene Merge Thread #0" #417 daemon prio=5 os_prio=0 cpu=56419.91ms elapsed=60.88s tid=0x00007fa5bc16a5c0 nid=0x1e16 runnable [0x00007fa597efd000] Locked ownable synchronizers: "Attach Listener" #418 daemon prio=9 os_prio=0 cpu=0.56ms elapsed=0.10s tid=0x00007fa5b8002b30 nid=0x1e70 waiting on condition [0x0000000000000000] Locked ownable synchronizers: "VM Thread" os_prio=0 cpu=208.98ms elapsed=154.84s tid=0x00007fa5f4143230 nid=0x1900 runnable "GC Thread#0" os_prio=0 cpu=955.14ms elapsed=154.91s tid=0x00007fa5f4063710 nid=0x18fb runnable "GC Thread#1" os_prio=0 cpu=901.09ms elapsed=154.08s tid=0x00007fa5bc000aa0 nid=0x190b runnable "G1 Main Marker" os_prio=0 cpu=3.86ms elapsed=154.90s tid=0x00007fa5f4073f80 nid=0x18fc runnable "G1 Conc#0" os_prio=0 cpu=776.44ms elapsed=154.89s tid=0x00007fa5f4075330 nid=0x18fd runnable "G1 Refine#0" os_prio=0 cpu=3.62ms elapsed=154.88s tid=0x00007fa5f40cf990 nid=0x18fe runnable "G1 Young RemSet Sampling" os_prio=0 cpu=13.10ms elapsed=154.87s tid=0x00007fa5f40d0cc0 nid=0x18ff runnable "VM Periodic Task Thread" os_prio=0 cpu=43.18ms elapsed=154.67s tid=0x00007fa5f4182ca0 nid=0x1909 waiting on condition JNI global refs: 24, weak refs: 0 |
Beta Was this translation helpful? Give feedback.
-
I wonder if the indexer is really stuck - what makes you think it is stuck ? Does it perform any syscalls ? How do the memory/CPU metrics look like when it appears to be hung ? |
Beta Was this translation helpful? Give feedback.
-
We have installed Opengrok 1.6.4, OpenJDK 15.02 and apache tomcat 10.0.2
While indexing multiple projects in the source folder we are getting below errors and the indexing skipped for many of the files in some projects and those projects are not listed in Opengrok search.
Mar 15, 2021 3:00:05 PM org.opensolaris.opengrok.index.IndexDatabase addFile
INFO: Skipped file '/logger.d.ts' because the analyzer didn't understand it.
Mar 15, 2021 3:00:05 PM org.opensolaris.opengrok.index.IndexDatabase indexDown
INFO: Progress: 25,441 (68.238%)
Mar 15, 2021 3:00:05 PM org.opensolaris.opengrok.index.IndexDatabase addFile
INFO: Skipped file '/ResourceManager.cs' because the analyzer didn't understand it.
Mar 15, 2021 3:00:05 PM org.opensolaris.opengrok.index.IndexDatabase addFile
INFO: Skipped file '/CaseTestData.sql' because the analyzer didn't understand it.
Beta Was this translation helpful? Give feedback.
All reactions