2013-07-13 05:45:48 +00:00
%h3.page-title Background Jobs
2013-12-19 19:42:11 +00:00
%p.light GitLab uses #{link_to "sidekiq", "http://sidekiq.org/"} library for async job processing
2013-10-23 07:11:54 +00:00
%hr
2014-05-29 15:42:44 +00:00
.panel.panel-default
2014-05-29 15:43:21 +00:00
.panel-heading Sidekiq running processes
2014-05-29 15:57:27 +00:00
.panel-body
2013-10-23 07:11:54 +00:00
- if @sidekiq_processes.empty?
%h4.cred
2014-10-01 22:21:29 +00:00
%i.fa.fa-exclamation-triangle
2013-10-23 07:11:54 +00:00
There are no running sidekiq processes. Please restart GitLab
- else
%table.table
%thead
%th USER
%th PID
%th CPU
%th MEM
%th STATE
%th START
%th COMMAND
2014-03-13 08:39:41 +00:00
%tbody
- @sidekiq_processes.each do |process|
2013-10-23 07:11:54 +00:00
- next unless process.match(/(sidekiq \d+\.\d+\.\d+.+$)/)
2014-03-13 08:39:41 +00:00
- data = process.strip.split(' ')
2013-10-23 07:11:54 +00:00
%tr
2014-03-13 08:39:41 +00:00
%td= Settings.gitlab.user
- 5.times do
2013-10-23 07:11:54 +00:00
%td= data.shift
2014-03-13 08:39:41 +00:00
%td= data.join(' ')
2013-10-23 07:11:54 +00:00
.clearfix
%p
2014-10-01 22:21:29 +00:00
%i.fa.fa-exclamation-circle
2013-10-23 07:11:54 +00:00
If '[25 of 25 busy]' is shown, restart GitLab with 'sudo service gitlab reload'.
%p
2014-10-01 22:21:29 +00:00
%i.fa.fa-exclamation-circle
2013-10-23 07:11:54 +00:00
If more than one sidekiq process is listed, stop GitLab, kill the remaining sidekiq processes (sudo pkill -u #{Settings.gitlab.user} -f sidekiq) and restart GitLab.
2014-05-29 15:42:44 +00:00
.panel.panel-default
2013-01-09 05:14:05 +00:00
%iframe{src: sidekiq_path, width: '100%', height: 900, style: "border: none"}