I have a big Git repo (4.6 GB), and cloning fails with the following error:
Cloning into ‘repo’…
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502 Proxy Error
fatal: The remote end hung up unexpectedly
Error appears after a few minutes.
The logs are here:
2017-08-24 14:18:01.692 INFO [rhodecode.lib.utils] Logging action:
pull on repo:
BIGRepo by user:<User(‘id:4:cbrossollet’)> ip:10.67.6.44
2017-08-24 14:18:01.806 INFO [rhodecode.lib.middleware.request_wrapper] IP: 10.67.6.44 Request to /BIGRepo/git-upload-pack time: 263.263s
The server has 12 GB of RAM, and when monitoring it during clone I see memory climbing up to ~ 10 GB, and CPU at 25% (it has 4 cores). I have no issue with this repo using a git smart http server… Is there anything to do? Any parameter to tune? I’m using version 4.7.2 on Ubuntu server 16.10.