2016-06-14 21:44:51 -04:00
- @no_container = true
2015-04-30 13:06:18 -04:00
- page_title "Background Jobs"
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
2018-04-10 13:11:34 -04:00
.card
.card-header Sidekiq running processes
.card-body
2016-06-14 21:44:51 -04:00
- 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
2018-04-10 13:11:34 -04:00
.card
2017-11-02 19:59:51 -04:00
%iframe{ src: sidekiq_path, width: '100%', height: 970, style: "border: 0" }