2016-06-15 01:44:51 +00:00
- @no_container = true
2015-04-30 17:06:18 +00:00
- page_title "Background Jobs"
2016-06-15 01:44:51 +00:00
= render 'admin/background_jobs/head'
2013-10-23 07:11:54 +00:00
2016-06-30 13:01:26 +00:00
%div{ class: container_class }
2016-06-15 01:44:51 +00:00
%h3.page-title Background Jobs
%p.light GitLab uses #{link_to "sidekiq", "http://sidekiq.org/"} library for async job processing
2013-10-23 07:11:54 +00:00
2016-06-15 01:44:51 +00:00
%hr
2013-10-23 07:11:54 +00:00
2016-06-15 01:44:51 +00:00
.panel.panel-default
.panel-heading Sidekiq running processes
.panel-body
- 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|
2016-09-08 13:30:16 +00:00
%tr
%td= gitlab_config.user
- parse_sidekiq_ps(process).each do |value|
%td= value
2016-06-15 01:44:51 +00:00
.clearfix
%p
%i.fa.fa-exclamation-circle
2017-02-19 08:44:47 +00:00
If '[#{@concurrency} of #{@concurrency} busy]' is shown, restart GitLab with 'sudo service gitlab reload'.
2016-06-15 01:44:51 +00:00
%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.
2013-10-23 07:11:54 +00:00
2016-06-15 01:44:51 +00:00
.panel.panel-default
2016-12-26 10:47:16 +00:00
%iframe{ src: sidekiq_path, width: '100%', height: 970, style: "border: none" }