Skip to content

Indexing time consuming problem #3865

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chenchuanliang opened this issue Jan 10, 2022 · 1 comment
Closed

Indexing time consuming problem #3865

chenchuanliang opened this issue Jan 10, 2022 · 1 comment

Comments

@chenchuanliang
Copy link

Version:Opengork1.7.24
Server:ubuntu 16.04 i7-2600 3.4GHz x 8 32G RAM
CMD:./opengrok-indexer -J=-Xmx16g -J=-server -a ~/opengrok/dist/lib/opengrok.jar -- -c /usr/local/bin/ctags -m 64.0 -s /workspace1 -d /opengrokData -i 'f:.rar' -i 'f:.zip' -i 'f:.mbn' -i 'f:.jar' -i 'f:.gz' -i 'f:.tar' -i 'f:.elf' -i 'f:.json' -i 'f:.m' -i 'f:.mm' -i 'f:.js' -i 'f:.lib' -i 'f:.css' -i 'f:.csl' -i 'f:.acdb' -i 'f:.exe' -i 'f:.pp' -i 'f:.o' -i 'f:.a' -i 'f:.bz2' -i 'f:.kt' -i 'f:.lsdump' -i 'f:.so' -i 'zh.txt' -i 'zh.xml' -i 'f:.rs' -i 'f:.rb' -i 'f:.cer' -i 'f:.qwsp' -i 'f:.obj' -i 'f:.vblock' -i 'f:kernel-qemu' -i 'f:kernel-qemu2' -i 'f:.b04' -i 'f:.data' -i 'f:.ts' -i 'f:*.cov' --progress -Q on -q -H -P -S -G -W ~/opengrok/etc/configuration.xml -U http://localhost:8080/source

We have about 27 Android projects. After the index is created, we maintain the synchronous index every day, but it takes more than 20 hours even without any modification. But we used opengrok0.3 version is very fast and can be completed in about 7-8 hours. In addition to increasing server performance, is there any opengrok parameter configuration that can shorten the time?

Thanks

@vladak
Copy link
Member

vladak commented Jan 10, 2022

it takes more than 20 hours even without any modification

I assume this is a Git repository. Then #3077 would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants