Hi I'm not ruby developer too, but I'm added this option to config
vim /home/git/gitlab/config/initializers/4_sidekiq.rb
Sidekiq.configure_server do |config|
config.options[:concurrency] = 2 config.redis = {
url: resque_url,
namespace: 'resque:gitlab'
}
end
but, there is still too many of them and they eat memory
13298 git 20 0 940M 121M 7748 S 0.0 12.2 0:00.00 unicorn_rails master -c /home/git/gitlab/config/unicorn.rb -E production
13317 git 20 0 940M 121M 7748 S 0.0 12.2 0:00.00 unicorn_rails master -c /home/git/gitlab/config/unicorn.rb -E production
13235 git 20 0 940M 121M 7748 S 0.0 12.2 0:05.46 unicorn_rails master -c /home/git/gitlab/config/unicorn.rb -E production
13295 git 20 0 40952 8024 2776 S 0.0 0.8 0:00.03 python2 /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/gitlab-pygments.rb-0.3.2/lib/pygments/mentos.py
13309 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.00 sidekiq 2.7.5 gitlab [0 of 2 busy]
13312 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.00 sidekiq 2.7.5 gitlab [0 of 2 busy]
13313 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.00 sidekiq 2.7.5 gitlab [0 of 2 busy]
13314 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.00 sidekiq 2.7.5 gitlab [0 of 2 busy]
13315 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.00 sidekiq 2.7.5 gitlab [0 of 2 busy]
13322 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.00 sidekiq 2.7.5 gitlab [0 of 2 busy]
13328 git 20 0 1420M 130M 7984 S 0.0 13.1 0:01.38 sidekiq 2.7.5 gitlab [0 of 2 busy]
13329 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.99 sidekiq 2.7.5 gitlab [0 of 2 busy]
13330 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.00 sidekiq 2.7.5 gitlab [0 of 2 busy]
13331 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.00 sidekiq 2.7.5 gitlab [0 of 2 busy]
13332 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.30 sidekiq 2.7.5 gitlab [0 of 2 busy]
13412 git 20 0 1420M 130M 7984 S 0.0 13.1 0:00.28 sidekiq 2.7.5 gitlab [0 of 2 busy]
13304 git 20 0 1420M 130M 7984 S 0.0 13.1 0:08.58 sidekiq 2.7.5 gitlab [0 of 2 busy]
13318 git 20 0 1042M 247M 5940 S 0.0 24.8 0:00.00 unicorn_rails worker[0] -c /home/git/gitlab/config/unicorn.rb -E production
13316 git 20 0 1042M 247M 5940 S 0.0 24.8 0:24.19 unicorn_rails worker[0] -c /home/git/gitlab/config/unicorn.rb -E production
13319 git 20 0 38100 7976 2720 S 0.0 0.8 0:00.02 python2 /home/git/gitlab/vendor/bundle/ruby/2.0.0/gems/gitlab-pygments.rb-0.3.2/lib/pygments/mentos.py