Anyone can help?We have a Gerrit server at our headquarters, and after we upgraded from 2.12 to 3.8.3, we often encountered the "Internal server error" problems when did "git fetch" from other regional offices, and this is a random problem.We have checked that the problem is very likely to be encountered when the download speed is less than 150KB/s. Currently, this is only a problem in our European offices, but is less common in other regions.We have checked the relevant repositories and there is no problem, is there any parameter that can be adjusted to solve this problem?
The other issue is that our current gerrit system runs for a while, say a month or so, and then the "git push /git pull" gets stuck often, and then we need to restart the gerrit service to refresh all the Gerrit connections temprarily to fix the problem, so do you have any suggestions on how to deal with 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/32d450de-455c-4838-b5d8-8e13cf9603cen%40googlegroups.com.
remote: Finding sources: 100% (117647/117647)
fatal: internal server error
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
=============================================================
Here is the server's error log.
But, unfortunately, I can't fully understand this error and we may need your help to analyze some experiences.
==================================================================================Do you run git gc on all repositories served by the gerrit server on a regular interval ?If a request is stuck, create a couple of thread dumps on the server to get insight into where it's stuck.===============We are using a VM server with 8 virtual CPU cores and 64G RAM, what should be a reasonable thread value for us? Our peak tasks are going to be over 200, and I have referred to another previous post page, but didn't get any more valid opinions.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/bcefd916-c4b7-4ca0-802f-a77869390028n%40googlegroups.com.
We solved the network congestion problem on the client-server and then enabled the "bbr" on the Gerrit cluster server side, which greatly improved the problem.
Thanks again for your great help
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr