gerrit server excessive CPU usage
The gerrit server regularly shows 100% CPU utilization and >6 load avarage. These high resource usages have been observed during operations like pushing up a change have been taking up to 30 seconds tonight and simple operations like a rebase of a smallish change has been also taking >10 s.
Is there something that can be done to debug the issue? Have there been any changes made recently?
#1 Updated by Roland Schulz almost 3 years ago
Do we have gc running regularly? I can't see it either in cron nor in the gerrit config. I just ran it manual once. But if it isn't already somewhere in cron it should be enabled in the gerrit config (https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#gc)
#4 Updated by Szilárd Páll almost 3 years ago
Roland Schulz wrote:
It does effect performance. Whether it is the primary cause, I don't know. Did it improve since I ran gc manually?
Recent push commands were pretty much instant, so it might have helped. At the same the machine has been rebooted since, so that could have contributed too.