BigW Consortium Gitlab

show.html.haml 1.36 KB
Newer Older
1
- page_title "Background Jobs"
2
%h3.page-title Background Jobs
3
%p.light GitLab uses #{link_to "sidekiq", "http://sidekiq.org/"} library for async job processing
4 5 6

%hr

7
.panel.panel-default
8
  .panel-heading Sidekiq running processes
9
  .panel-body
10 11
    - if @sidekiq_processes.empty?
      %h4.cred
12
        %i.fa.fa-exclamation-triangle
13 14 15 16 17 18 19 20 21 22 23
        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
24 25
        %tbody
          - @sidekiq_processes.each do |process|
26
            - next unless process.match(/(sidekiq \d+\.\d+\.\d+.+$)/)
27
            - data = process.strip.split(' ')
28
            %tr
29
              %td= gitlab_config.user
30
              - 5.times do
31
                %td= data.shift
32
              %td= data.join(' ')
33 34 35

      .clearfix
        %p
36
          %i.fa.fa-exclamation-circle
37 38
          If '[25 of 25 busy]' is shown, restart GitLab with 'sudo service gitlab reload'.
        %p
39
          %i.fa.fa-exclamation-circle
40
          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.
41 42 43



44
.panel.panel-default
45
  %iframe{src: sidekiq_path, width: '100%', height: 970, style: "border: none"}