Hey,
I upgraded a 2.15 test instance to current master – including the LFS plugin (current master as well). Now whenever cloning a repository which requires LFS objects, when the download by the client starts Gerrit jumps to 100% CPU (actually 700-800% CPU – 8 cores J) and does not seem to get down anymore. Even when cancelling the cloning client, Gerrit remains in this state. Only restarting Gerrit seems to resolve the issue. I have taken a few (3 or so) jstack dumps of the VM, and it indeed seems that LFS is the only thing being worked on – or does anyone see something else which might be the problem?
Thanks for helping investigate this – I’d like to update our instance to master but this is (of course J) blocking me a little.
Cheers,
Markus
--
Mit freundlichen Grüßen / Best regards
Markus Duft | Software Architect
SSI SCHÄFER | SSI Schäfer IT Solutions GmbH | Friesachstraße 15 | 8114 Friesach bei Graz | Austria
Phone +43 3127 200-575 | Fax +43 3127 200-22
Website | Blog | YouTube | Facebook
Hey,
I upgraded a 2.15 test instance to current master – including the LFS plugin (current master as well). Now whenever cloning a repository which requires LFS objects, when the download by the client starts Gerrit jumps to 100% CPU (actually 700-800% CPU – 8 cores J) and does not seem to get down anymore. Even when cancelling the cloning client, Gerrit remains in this state. Only restarting Gerrit seems to resolve the issue. I have taken a few (3 or so) jstack dumps of the VM, and it indeed seems that LFS is the only thing being worked on – or does anyone see something else which might be the problem?
Thanks for helping investigate this – I’d like to update our instance to master but this is (of course J) blocking me a little.
Cheers,
Markus
--
Mit freundlichen Grüßen / Best regards
Markus Duft | Software Architect
SSI SCHÄFER | SSI Schäfer IT Solutions GmbH | Friesachstraße 15 | 8114 Friesach bei Graz | Austria
Phone +43 3127 200-575 | Fax +43 3127 200-22
Website | Blog | YouTube | Facebook
SSI Schäfer IT Solutions GmbH | Friesachstrasse 15 | 8114 Friesach | Austria
Registered Office: Friesach | Commercial Register: 49324 K | VAT no. ATU28654300
Commercial Court: Landesgericht für Zivilrechtssachen Graz
--
--
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.
Well, 2.15 works very well, we have it in production. Master seems to cause problems J
Cheers,
Markus
Well, 2.15 works very well, we have it in production. Master seems to cause problems J
OK, thanks, I will start investigating :D
Uh oh – there is a merge missing from stable-2.15 to master – I am not powerful enough to get this done though, the conflicts are too tough for me :D
Would you have time this week to help me through the merge – or even do it yourself? For you it’s probably a quick one - ~9 conflicting files.
Cheers,
Markus
Hm. But on master there is only a single smallish commit since the last merge from stable-2.15. Why is this then conflicting to much?
Thanks!
Just as some additional info: updating JGit to the same 4.11 version as gerrit has, had no effect. Still 700+% CPU usage on download of LFS files on master… I’ve tried to let the download run through now, although my Laptop is nearly dying. Everything is localhost (Gerrit, git clone) so it should be fast, but it’s extremely slow (git clone reports ~100kb/s - ~300kb/s) after the first few megabytes (~60MB) where actually ‘OK’ speed wise (~10mb/s)… Now (after more than an hour) it is still at “Filtering content: 7% (130/1847), 127.58 MiB | 57.00 KiB/s” – I’m cancelling it now K
Just as some additional info: updating JGit to the same 4.11 version as gerrit has, had no effect. Still 700+% CPU usage on download of LFS files on master…
On Tue, Jun 12, 2018 at 8:02 PM Duft Markus <Marku...@ssi-schaefer.com> wrote:Just as some additional info: updating JGit to the same 4.11 version as gerrit has, had no effect. Still 700+% CPU usage on download of LFS files on master…
I'm seeing similar after upgrading JGit and merging from stable-2.15. I only have a small test project with a few LFS objects in it, but just cloning that causes my laptop's fan to kick in.The merge from stable-2.15 shouldn't have had any effect; the changes there were mostly already in master. The conflicts were due to the Java8 date/time migration being done first on master, and then differently on stable-2.14.I haven't investigated any further.
Thanks David for finding this! It definitely helps a lot J
With the new jetty (cancelled after more than an hour):
mduft@fril0041 /tmp/TEST002 $ git checkout origin/5.8/master
Checking out files: 100% (58579/58579), done.
^Cltering content: 7% (130/1847), 127.58 MiB | 57.00 KiB/s
Exiting because of "interrupt" signal.
With the reverted-to old jetty:
mduft@fril0041 /tmp $ git clone ssh://marku...@ssi-schaefer.com@fril0041.wamas.com:2501/TEST002
Cloning into 'TEST002'...
remote: Total 70891 (delta 0), reused 70891 (delta 0)
Receiving objects: 100% (70891/70891), 58.79 MiB | 26.40 MiB/s, done.
Resolving deltas: 100% (30164/30164), done.
Checking out files: 100% (58274/58274), done.
Filtering content: 100% (1606/1606), 253.01 MiB | 220.87 MiB/s, done.
Too bad we’re using the new jetty version in our own software K will have to check that too :D
On Tue, Jun 12, 2018 at 8:48 PM David Pursehouse <david.pu...@gmail.com> wrote:On Tue, Jun 12, 2018 at 8:02 PM Duft Markus <Marku...@ssi-schaefer.com> wrote:Just as some additional info: updating JGit to the same 4.11 version as gerrit has, had no effect. Still 700+% CPU usage on download of LFS files on master…
I'm seeing similar after upgrading JGit and merging from stable-2.15. I only have a small test project with a few LFS objects in it, but just cloning that causes my laptop's fan to kick in.The merge from stable-2.15 shouldn't have had any effect; the changes there were mostly already in master. The conflicts were due to the Java8 date/time migration being done first on master, and then differently on stable-2.14.I haven't investigated any further.It seems to be caused by the recent Jetty upgrade. I'm not sure why or how, but after reverting it, clone with LFS works as expected.The revert is here: https://gerrit-review.googlesource.com/c/gerrit/+/184445