Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1463506 - High CPU load and slow response times on the smart proxy (smart_proxy_dynflow_core process) with rex at scale
Summary: High CPU load and slow response times on the smart proxy (smart_proxy_dynflow...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Ivan Necas
QA Contact: Jan Hutař
URL:
Whiteboard:
Depends On:
Blocks: 1487964
TreeView+ depends on / blocked
 
Reported: 2017-06-21 07:17 UTC by Ivan Necas
Modified: 2021-03-11 15:21 UTC (History)
8 users (show)

Fixed In Version: tfm-rubygems-foreman-tasks-core-0.1.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1487964 (view as bug list)
Environment:
Last Closed: 2018-02-21 17:06:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch for more effective refreshing of remote execution commands (4.78 KB, patch)
2017-06-21 07:17 UTC, Ivan Necas
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20182 0 Normal Closed High CPU load and slow response times on the smart proxy (smart_proxy_dynflow_core process) with rex at scale 2020-08-12 08:37:09 UTC

Description Ivan Necas 2017-06-21 07:17:53 UTC
Created attachment 1289960 [details]
Patch for  more effective refreshing of remote execution commands

Description of problem:
Due to inefficiency of the refreshing of execution, smart_proxy_dynflow_core can
get under heavy CPU load, which can eventually lead to slow response times
and bloated queues.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. run remote execution job against 1000 hosts


Actual results:
smart_proxy_dynflow_core getting to 100% CPU soon, response times
on smart_proxy getting to tens of seconds

Expected results:
Moderate CPU load, fast reponse times on smart-proxy (below second)

Additional info:
Extracted from https://bugzilla.redhat.com/show_bug.cgi?id=1416542#c36 to have more clarity on different parts of the bug.

Comment 4 Adam Ruzicka 2017-07-03 07:25:37 UTC
Created redmine issue http://projects.theforeman.org/issues/20182 from this bug

Comment 5 Brad Buckingham 2017-07-04 22:24:26 UTC
Moving to ASSIGNED as there is a PR submitted upstream.

Comment 6 Satellite Program 2017-07-10 16:12:32 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20182 has been resolved.

Comment 13 Bryan Kearney 2018-02-21 17:06:18 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.

For information on the advisory, and where to find the updated files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0336


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