
After upgrading from 3.8.9 to 3.10.8 ("a reindex of all indexes" also done per release notes) some changes load for 30+ seconds, might be even up to a minute. In web inspector—network I see this request taking longest:GET https://gerrit/changes/repo_name~7973/detail?O=9996394
On Friday, October 10, 2025 at 5:44:22 PM UTC+3 phil wrote:After upgrading from 3.8.9 to 3.10.8 ("a reindex of all indexes" also done per release notes) some changes load for 30+ seconds, might be even up to a minute. In web inspector—network I see this request taking longest:GET https://gerrit/changes/repo_name~7973/detail?O=9996394Resolved with 3.11.5 upgrade, probably not worth pursuing further.
HTH
Luca.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/ED32DA70-7F0A-421A-B8B3-8BAB362C6721%40gmail.com.
HTH
Luca.
On Thu, Jan 15, 2026 at 3:36 PM Luca Milanesio <luca.mi...@gmail.com> wrote:
> On 15 Jan 2026, at 14:19, phil <phil.s...@gmail.com> wrote:
>
>
>
> On Wednesday, October 15, 2025 at 8:08:46 PM UTC+3 phil wrote:
> On Friday, October 10, 2025 at 5:44:22 PM UTC+3 phil wrote:
> After upgrading from 3.8.9 to 3.10.8 ("a reindex of all indexes" also done per release notes) some changes load for 30+ seconds, might be even up to a minute. In web inspector—network I see this request taking longest:
>
> GET https://gerrit/changes/repo_name~7973/detail?O=9996394
>
> Resolved with 3.11.5 upgrade, probably not worth pursuing further.
> Actually scratch that. Even on 3.12.3 the reply takes 10-12 seconds to submit on this one repository. In other repos on the same server reply submits happen near instantaneously, and it used to be instant on the repo in question too. Would be happy to hear any hints how to investigate this further.
Because the call takes a long time (over 30s), you should take multiple Java thread-dump of the Gerrit JVM pid (e.g. 60 dumps, with a 0.5s interval) and see if you recognise some “hot points” where the code is stuck.Did you check if this repository is well packed ?Maybe git garbage collection isn't scheduled to run for this repository or fails with an error.You can run git count-objects -vH on this repository on the Gerrit server to check if it hasan excessive number of loose objects or pack files.
recommendation for frequency? I could not find any settings in GUI except for the actual "Run GC" button.
I also dry-ran "git prune-packed -n" and got "Removing duplicate objects: 100% (256/256), done." as a result. Worth running this command for real?
On Thursday, January 15, 2026 at 5:08:39 PM UTC+2 Matthias Sohn wrote:On Thu, Jan 15, 2026 at 3:36 PM Luca Milanesio <luca.mi...@gmail.com> wrote:
> On 15 Jan 2026, at 14:19, phil <phil.s...@gmail.com> wrote:
>
>
>
> On Wednesday, October 15, 2025 at 8:08:46 PM UTC+3 phil wrote:
> On Friday, October 10, 2025 at 5:44:22 PM UTC+3 phil wrote:
> After upgrading from 3.8.9 to 3.10.8 ("a reindex of all indexes" also done per release notes) some changes load for 30+ seconds, might be even up to a minute. In web inspector—network I see this request taking longest:
>
> GET https://gerrit/changes/repo_name~7973/detail?O=9996394
>
> Resolved with 3.11.5 upgrade, probably not worth pursuing further.
> Actually scratch that. Even on 3.12.3 the reply takes 10-12 seconds to submit on this one repository. In other repos on the same server reply submits happen near instantaneously, and it used to be instant on the repo in question too. Would be happy to hear any hints how to investigate this further.
Because the call takes a long time (over 30s), you should take multiple Java thread-dump of the Gerrit JVM pid (e.g. 60 dumps, with a 0.5s interval) and see if you recognise some “hot points” where the code is stuck.Did you check if this repository is well packed ?Maybe git garbage collection isn't scheduled to run for this repository or fails with an error.You can run git count-objects -vH on this repository on the Gerrit server to check if it hasan excessive number of loose objects or pack files.OK, I'm not well-familiar with git internals, but I can see the following output (running directly on the gerrit server VM in the repo directory ):gerrit@gerrit:/var/gerrit/git/repo_name.git$ git count-objects -vH
count: 145283
size: 577.32 MiB
in-pack: 818015
packs: 10740
size-pack: 1.49 GiB--
prune-packable: 108
garbage: 0
size-garbage: 0 bytesDoes zero garbage indicate that GC is running as it should? Or is "count" high enough to be as you said excessive? Worth running GC manually now, and maybe scheduling it with cron after that? Is there a recommendation for frequency? I could not find any settings in GUI except for the actual "Run GC" button.I also dry-ran "git prune-packed -n" and got "Removing duplicate objects: 100% (256/256), done." as a result. Worth running this command for real?
HTH
Luca.
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/ED32DA70-7F0A-421A-B8B3-8BAB362C6721%40gmail.com.
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/2160e43b-ef17-455c-9044-b5bc70ab3d90n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/CAKSZd3QAFVdtzEE1dZO1qxLYmXXEBT8UuLAwLJ-YOiTDTDZoEA%40mail.gmail.com.
You may want to install the git-repo-metrics plugin that exposes those values as real time metrics and then putting an alarm on it.
You've definitely got quite a few objects, although not a stupid crazy amount. But yeah, I'd say worth running GC.recommendation for frequency? I could not find any settings in GUI except for the actual "Run GC" button.I'd recommend scheduling jgit gc to run separately as a cron-job.I also dry-ran "git prune-packed -n" and got "Removing duplicate objects: 100% (256/256), done." as a result. Worth running this command for real?
I'd imagine GC will take care of this too for you.