Bug 1163740 - Performance issues while accessing "Sync Status" page
Summary: Performance issues while accessing "Sync Status" page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Performance
Version: 6.0.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: Adam Price
QA Contact: Katello QA List
URL: https://projects.theforeman.org/issue...
Whiteboard:
: 1330749 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-13 11:41 UTC by Ashish Humbe
Modified: 2019-12-16 04:35 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-12 15:57:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 14088 0 None None None 2016-04-26 17:09:57 UTC
Red Hat Bugzilla 1196673 0 unspecified CLOSED task list page is very slow 2021-02-22 00:41:40 UTC

Internal Links: 1196673

Description Ashish Humbe 2014-11-13 11:41:17 UTC
Description of problem:

The customer is facing performance issues while accessing "Sync Status" and "Tasks" page, it takes long time to load, sometime 25sec, 47sec  etc.. They have enabled 44 repos on the satellite server. 

Completed 200 OK in 47936ms (Views: 32.6ms | ActiveRecord: 4435.0ms)
Completed 200 OK in 25067ms (Views: 3497.1ms | ActiveRecord: 129.7ms)
Completed 200 OK in 22547ms (Views: 2721.9ms | ActiveRecord: 99.5ms)

On local satellite server these pages take 7-8 seconds to load where ~40 repos are enabled.

Below is the complete log seen while accessing the sync status page,

Processing by Katello::SyncManagementController#index as HTML
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_controls.html.haml (0.5ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_repo.html.haml (3.0ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_children.html.haml (3.6ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_repo.html.haml (1.5ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_children.html.haml (2.0ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_children.html.haml (6.6ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_repo.html.haml (4.7ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_children.html.haml (5.4ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_repo.html.haml (3.1ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_children.html.haml (3.7ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_children.html.haml (10.0ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_repo.html.haml (6.1ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_repo.html.haml (15.7ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_children.html.haml (16.5ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_repo.html.haml (14.2ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_children.html.haml (14.8ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_children.html.haml (32.1ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_repo.html.haml (16.9ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_repo.html.haml (2.9ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_product.html.haml (3097.1ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/_products.html.haml (3100.0ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/sync_management/index.html.haml within katello/layouts/katello (3126.3ms)
  Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/common/_common_i18n.html.haml (2.7ms)
  Rendered home/_submenu.html.erb (5.2ms)
  Rendered home/_user_dropdown.html.erb (2.0ms)
Read fragment views/tabs_and_title_records-3 (0.2ms)
  Rendered home/_topbar.html.erb (9.9ms)
  Rendered layouts/base.html.erb (11.6ms)
Completed 200 OK in 47936ms (Views: 32.6ms | ActiveRecord: 4435.0ms)


The customer has a quad core processor and 8 GB ram on the satellite server. 

Version-Release number of selected component (if applicable):
Red Hat Satellite 6.0.4

How reproducible:
Always in customer environment.

Actual results:
"Sync Status" and "Tasks" page take a long time to load content.

Expected results:
"Sync Status" and "Tasks" page should not take long time to load.

Comment 1 RHEL Program Management 2014-11-13 11:43:57 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 6 Chris Duryee 2016-03-08 01:22:33 UTC
Tasks page is addressed in a different bz, https://bugzilla.redhat.com/show_bug.cgi?id=1196673. We are investigating the sync status page slowness.

Comment 8 Marcelo Moreira de Mello 2016-05-27 16:27:11 UTC
*** Bug 1330749 has been marked as a duplicate of this bug. ***

Comment 10 Adam Price 2016-07-05 18:47:05 UTC
I'm unable to reproduce slowness anywhere near 30+ seconds. I enabled 60+ Red Hat repositories and the "Sync Status" page is loading in about 3 seconds on average.

I started a sync of all those repos at once causing page load times to jump to an average of 11 seconds.

Comment 11 Bryan Kearney 2016-07-08 20:22:33 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 13 Chris Duryee 2016-11-12 15:57:30 UTC
I believe this is addressed between 6.2.4 fixes and https://bugzilla.redhat.com/show_bug.cgi?id=1384548. Marking as closed/currentrelease, but feel free to re-open if this bug is still present.


Note You need to log in before you can comment on or make changes to this bug.