Replies: 1 comment 2 replies
-
I'd focus on small things first, like: why is the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have an operational OpenGrok production instance (Docker version 1.12.12+) successfully running in one data center. Currently, we're working on creating a disaster recovery (DR) instance in a different data center (DC). The total index size is approximately 5+ terabytes, including all data.
Initially, our plan was to use the project list from the production system to clone the projects and reindex everything from scratch in the new DC. However, due to network latency issues between the new DC and the source code repository, we've encountered the following problem: #747
The issue arises when the indexer attempts to run /usr/bin/p4 filelog -sti ..., but it times out, and it begins collecting historical information for each individual file.
Here's a timestamp for reference:
2023-10-10 06:47:17.074+0000. A warning message indicates that the process execution of the command [/usr/bin/p4 filelog -sti ...] in the directory '/opengrok/src/<perforce_project_name>' was terminated due to a timeout after 600 seconds.
The Perforce repository in question is around 6 gigabytes, and this results in a large number of Perforce requests, causing a heavy load on the Perforce server and complaints from the server administrator.
To address this issue, we attempted to add the following configurations one by one to the read-only.xml file, but unfortunately, none of these solutions worked:
When comparing the number of Perforce requests between our production instance (less than 100) and the new data center instance with known network latency issues (almost half a million), there's a significant difference.
So, we have two questions:
Do you have any suggestions to overcome this issue?
Is it possible to copy the source code data from our production system to the new virtual machine in the different data center and run OpenGrok from there? We anticipate challenges related to conflicting source code and index synchronization. However, given our requirements, can you please advise if this approach could work?
Beta Was this translation helpful? Give feedback.
All reactions