does anyone know how to optimize the CPU usage of a gitlab container?
I have installed gitlab via docker on my vps with an Intel® Xeon® CPU E5-2680 v3 @ 2.50GHz + 32 GB of memory. The
docker stats command is always showing a CPU usage of over 100% for the gitlab container.
I have already tried disabling prometheus monitoring in the gitlab.rb file, unfortunately without success.
I am using the gitlab/gitlab-ce:latest Docker container. I have run
The command tells me that GitLab uses about 10% CPU usage, and about 3.4GB of memory. I think you have something running inside GitLab, which causes heavy CPU usage. I would recommend, to make a backup of the Database and configuration files which are located in the mounted Folders. Then make a fresh GitLab Container and feed it with the Backup Data to analyze the Problem on a fresh GitLab instance.