Gitlab 9.3.X CPU 100% usage

Good evening,
my Gitlab instance is using a lot of CPU since the last week and I don’t know why. I only use this server for Gitlab.
Sometimes I can use the web interface and sometimes it doesnt load anymore, even rebooting.

I tried updating my OS, Gitlab, rebooting several times, killing/stopping other PID’s etc.

Version: 9.2.x and now in 9.3.X
OS: CentOS 4 processors 8Gb RAM


gitlab-rake gitlab:env:info
System information
Current User: git
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.6.6
Bundler Version:1.13.7
Rake Version: 10.5.0
Redis Version: 3.2.5
Git Version: 2.13.0
Sidekiq Version:5.0.0
Go Version: unknown

GitLab information
Version: 9.3.3
Revision: 92cd381
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
Using LDAP: no
Using Omniauth: no

GitLab Shell
Version: 5.0.5
Repository storage paths:

  • default: /var/opt/gitlab/git-data/repositories
    Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks
    Git: /opt/gitlab/embedded/bin/git

Not sure this solution is relevant to you or not but seems work for me. Recently we have started facing a similar issue with 100% CPU usage and even after upgrading to 9.4 doesn’t make any difference.
When I look for tail log using $ sudo gitlab-ctl tail. realized that there is constant API call (like 20/30 per second) after little bit digging I realize that it is Gitlab Notification Google extension was causing this issue. Look like extension wasn’t updated to perform well with a newer version.
Uninstalled from all our user’s computer (I am able to do it because all are internal users) and seems working fine now.

Probablly, the issue in your end may different but the TAIL command will tell you the whole story.

1 Like

Thanks for your reply but nobody have any extension related to Gitlab nor we are the API externally

Issue went away for no apparrent reason after a few days