2015-09-11 14:41:01 +05:30
- page_title "Background Jobs"
2014-09-02 18:07:02 +05:30
%h3.page-title Background Jobs
%p.light GitLab uses #{link_to "sidekiq", "http://sidekiq.org/"} library for async job processing
%hr
.panel.panel-default
.panel-heading Sidekiq running processes
.panel-body
- if @sidekiq_processes.empty?
%h4.cred
2015-04-26 12:48:37 +05:30
%i.fa.fa-exclamation-triangle
2014-09-02 18:07:02 +05:30
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
%tbody
- @sidekiq_processes.each do |process|
- next unless process.match(/(sidekiq \d+\.\d+\.\d+.+$)/)
- data = process.strip.split(' ')
%tr
2015-04-26 12:48:37 +05:30
%td= gitlab_config.user
2014-09-02 18:07:02 +05:30
- 5.times do
%td= data.shift
%td= data.join(' ')
.clearfix
%p
2015-04-26 12:48:37 +05:30
%i.fa.fa-exclamation-circle
2014-09-02 18:07:02 +05:30
If '[25 of 25 busy]' is shown, restart GitLab with 'sudo service gitlab reload'.
%p
2015-04-26 12:48:37 +05:30
%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
.panel.panel-default
2015-04-26 12:48:37 +05:30
%iframe{src: sidekiq_path, width: '100%', height: 970, style: "border: none"}