BigW Consortium Gitlab

show.html.haml 1.45 KB
Newer Older
1
- @no_container = true
2
- page_title "Background Jobs"
3
= render 'admin/background_jobs/head'
4

5
%div{ class: container_class }
6 7
  %h3.page-title Background Jobs
  %p.light GitLab uses #{link_to "sidekiq", "http://sidekiq.org/"} library for async job processing
8

9
  %hr
10

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
  .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|
Pascal Betz committed
31 32 33 34
                %tr
                  %td= gitlab_config.user
                  - parse_sidekiq_ps(process).each do |value|
                    %td= value
35 36 37 38 39 40 41
        .clearfix
          %p
            %i.fa.fa-exclamation-circle
            If '[25 of 25 busy]' is shown, restart GitLab with 'sudo service gitlab reload'.
          %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.
42 43


44 45 46

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