Gitlab self hosted high cpu usage, network activity and error rate for no obvious reason

Viewed 19

So I installed self hosted Gitlab on digitalocean droplet with 4 core CPU and 8 GB RAM, Ubuntu 20. I created a group of 6 members and 2 repos (~5mb each).

Here are settings that I changed from defaults in /etc/gitlab/gitlab.rb:

  • External URL
  • Configured SMTP server
  • Added OAuth App (Gitlab.com for existing projects export)
  • Enabled Grafana
  • nginx['redirect_http_to_https'] = false
  • letsencrypt['enable'] = false

(last two because top level domain has certificate and adds redirect to all sites)

Symptoms that I could notice from reports below that started at 6 AM:

  • high cpu and memory usage
  • 99% error rate for gitlab-workhorse service
  • high workhorse latency
  • network usage spikes at about 4 MB outgoing and 1 MB incoming bytes
  • postgres activity at around 50 transactions
  • increased redis memory usage

Please advise what else should I check to understand what causes this issues?

Here are screenshots of monitoring:

This is that I see via SSH when I started observing at around 10:00 AM enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here enter image description here

0 Answers
Related