Ich habe gitlab Community Edition auf meinem Raspberry Pi 3 installiert. Alles funktioniert gut. Aber wenn die Anwendung läuft, gibt es 25 Sidekiq-Threads. Es verschlingt meine Erinnerung und ich will nicht so viele Fäden.sidekiq.yml Datei wird nicht berücksichtigt
Ich habe versucht, zu steuern, indem Sie die Datei /opt/gitlab/embedded/service/gitlab-rails/config/sidekiq.yml hinzufügen.
# Sample configuration file for Sidekiq.
# Options here can still be overridden by cmd line args.
# Place this file at config/sidekiq.yml and Sidekiq will
# pick it up automatically.
---
:verbose: false
:concurrency: 5
# Set timeout to 8 on Heroku, longer if you manage your own systems.
:timeout: 30
# Sidekiq will run this file through ERB when reading it so you can
# even put in dynamic logic, like a host-specific queue.
# http://www.mikeperham.com/2013/11/13/advanced-sidekiq-host-specific-queues/
:queues:
- critical
- default
- <%= `hostname`.strip %>
- low
# you can override concurrency based on environment
production:
:concurrency: 5
staging:
:concurrency: 5
Ich habe die Anwendung viele Male neu gestartet und sogar "rekonfigurieren" ausgeführt. Es hilft nicht. Es berücksichtigt die sidekiq.yml-Datei überhaupt nicht.
Kann mir bitte jemand sagen, wo ich falsch liege?