2016-06-16 23:09:34 +05:30
- @no_container = true
2015-09-11 14:41:01 +05:30
- page_title "Background Jobs"
2014-09-02 18:07:02 +05:30
2016-08-24 12:49:21 +05:30
%div{ class: container_class }
2016-06-16 23:09:34 +05:30
%h3.page-title Background Jobs
%p.light GitLab uses #{link_to "sidekiq", "http://sidekiq.org/"} library for async job processing
2014-09-02 18:07:02 +05:30
2016-06-16 23:09:34 +05:30
%hr
2014-09-02 18:07:02 +05:30
2018-11-08 19:23:39 +05:30
.card
.card-header Sidekiq running processes
.card-body
2016-06-16 23:09:34 +05:30
- if @sidekiq_processes.empty?
%h4.cred
%i.fa.fa-exclamation-triangle
There are no running sidekiq processes. Please restart GitLab
- else
.table-holder
%table.table
%thead
%th USER
%th PID
%th CPU
%th MEM
%th STATE
%th START
%th COMMAND
%tbody
- @sidekiq_processes.each do |process|
%tr
%td= gitlab_config.user
2016-09-29 09:46:39 +05:30
- parse_sidekiq_ps(process).each do |value|
%td= value
2016-06-16 23:09:34 +05:30
.clearfix
%p
%i.fa.fa-exclamation-circle
2017-08-17 22:00:37 +05:30
If '[#{@concurrency} of #{@concurrency} busy]' is shown, restart GitLab with 'sudo service gitlab reload'.
2016-06-16 23:09:34 +05:30
%p
%i.fa.fa-exclamation-circle
If more than one sidekiq process is listed, stop GitLab, kill the remaining sidekiq processes (sudo pkill -u #{gitlab_config.user} -f sidekiq) and restart GitLab.
2014-09-02 18:07:02 +05:30
2016-06-16 23:09:34 +05:30
2018-11-08 19:23:39 +05:30
.card
2018-03-17 18:26:18 +05:30
%iframe{ src: sidekiq_path, width: '100%', height: 970, style: "border: 0" }