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