After upgrading to 2.12, Gerrit consistently takes about 5 seconds to load /#/q/status:open (/#/q/status:merged still loads with no delay). Is there a way to troubleshoot this?
--
--
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.
For more options, visit https://groups.google.com/d/optout.
Edwin Kempin
Software Engineer
Google Germany GmbH
Dienerstraße 12
80331 München
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank.
This e-mail is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.
Also is it slow when you browse changes anonymously or being logged in?
I have to say that the list of open changes differs a lot in terms of execution if you run with:- anonymous view- signed-in viewThe signed-in view may include additional information that would require to do operations on either the DB or the changes's Repos or both.The speed-up you noticed after GCing the repo could be related to that.There is no caching at Change level atm and thus every view would inevitably need to rebuild the info from scratch *WHEN* not found on the Lucene index (signed-in view).Luca.On 9 Feb 2016, at 10:36, Tomas Hellberg <tom...@gmail.com> wrote:Also is it slow when you browse changes anonymously or being logged in?Only a small fraction of our projects are visible for anonymous users, so I guess that it won't tell us much.
Well, maybe if the delay is still there, we can rule out that the delay is related to the users somehow. I will try this when the problem returns (only a small delay right now).
Only a small fraction of our projects are visible for anonymous users, so I guess that it won't tell us much.Actually this might be the reason for the slowness when the list of open changes is accessed anonymously.Not sure if this is still the case, but earlier the open changes were retrieved in chunks and then in memory the non-visible changes were filtered out, until there were enough changes to fill the page. If now most open changes are filtered out, because they are not visible to anonymous users, a lot of chunks must be loaded to fill the page and that can take a long time.But as I said, I'm not sure if it's still implemented like this.
Regards,
Sebastian
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+unsubscribe@googlegroups.com.
After upgrading to 2.12, Gerrit consistently takes about 5 seconds to load /#/q/status:open (/#/q/status:merged still loads with no delay). Is there a way to troubleshoot this? I don't see anything remarkable in the error_log.
Which version of 2.12 you are running ? What does the process queue looks like upon this slow down ? Can you try to paste here snippets from thread dumps when the server is slow.