Bug #5337
openPossible memory leak after few Git Pull Requests
0%
Description
On our instance of Rhodecode (server 24 thread 32GB Ram) we saw at least since Rhodecode 4.6+ a weird behaviour:
After few PR( something like 10) the server start to produce errors randomly on pages browsing, sometimes refreshing works.
If I restart both VCS and Rhodecode EE instance the problem disappear. (Not sure which one solves the problem, to be checked next time).
When I start Rhodecode the used memory rise at ~20GB when the bug appear 24GB is used.
We can also say that without PR the server run for months without problem.
We mainly use PR with Git now.
We use Rhodecode 4.7.2.
Updated by Alexis Jeandet over 7 years ago
Here is one repo where we get the error:
https://hephaistos.lpp.polytechnique.fr/rhodecode/GIT_REPOSITORIES/LPP/Users/mperrinel/SCIQLOP-Initialisation
Updated by Marcin Kuzminski [CTO] over 7 years ago
- Status changed from New to In Progress
Updated by Marcin Kuzminski [CTO] over 7 years ago
At least we can confirm that the problem is inside the rich diff parser, also part of the problem is really big files in your repos like some .tmp 30 000 lines text files.
We'll investigate further...
Updated by Marcin Kuzminski [CTO] over 7 years ago
- Target version changed from v4.8 to v4.10
We added some fixes that will be in 4.8 release. It doesn't fully fix the problem but it reduces memory footprint by arround 30%.
We still have work to do there
Updated by Marcin Kuzminski [CTO] about 7 years ago
- Status changed from In Progress to Resolved