Skip to content

Commit 383c811

Browse files
authored
docs: add troubleshooting section for memory issues in Own indexer (#1174)
Closes [SRCH-844 ](https://linear.app/sourcegraph/issue/SRCH-844/excessive-memory-consumption-and-crashed-worker-on-s2-due-to-own)
1 parent f7a8dbc commit 383c811

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/own/index.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,23 @@ To find all commits between versions `5.0` and `5.1` made by `sourcegraph/own` t
8383

8484
Same query can be run for any owner (a person or a team).
8585

86+
## Troubleshooting
87+
88+
### Memory issues and worker crashes
89+
90+
The Own background processes (such as ownership signals computation) can consume significant memory, potentially causing worker jobs to crash due to excessive memory usage. If you experience memory problems or worker crashes related to Own:
91+
92+
1. **Disable ownership signals**: Go to **Site admin > Code graph > Ownership signals** and disable the signals that are causing issues:
93+
- Recent contributors signal
94+
- Recent views signal
95+
- Analytics computation
96+
97+
2. **Exclude large repositories**: Use the repository filtering options to exclude large repositories from ownership signal computation.
98+
99+
3. **Monitor resource usage**: Check your instance's memory usage after disabling signals to confirm the issue is resolved.
100+
101+
If memory issues persist after disabling ownership features, consider whether Own functionality is essential for your use case.
102+
86103
## Further reading
87104

88105
In order to learn more please check out our references:

0 commit comments

Comments
 (0)