Bug 1301103 - goferd taking 100% CPU after successful reconnect to qdrouterd after a longer time
goferd taking 100% CPU after successful reconnect to qdrouterd after a longer...
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Capsule (Show other bugs)
All Linux
urgent Severity high (vote)
: 6.1.6
: --
Assigned To: Katello Bug Bin
Katello QA List
: Triaged
Depends On: 1295957
Blocks: 1122832
  Show dependency treegraph
Reported: 2016-01-22 10:32 EST by Bryan Kearney
Modified: 2017-02-23 14:39 EST (History)
28 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, the Qpid proton reactor class did not abort internal pipes correctly when a connection was reset. During reconnect, the reactor thread occasionally entered an infinite loop, causing high CPU consumption. The internal pipes are now properly closed and the high CPU consumption no longer occurs on reconnect.
Story Points: ---
Clone Of: 1295957
Last Closed: 2016-01-28 02:25:41 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2113371 None None None 2016-01-22 10:32 EST
Apache JIRA PROTON-1090 None None None 2016-01-22 10:32 EST

  None (edit)
Comment 2 Sachin Ghai 2016-01-27 05:11:31 EST
Verified with satellite 6.1.6 compose 7 (async errata).

I was able to reproduce the reported issue with:

]# rpm -qa | grep qpid-proton

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                           
28593 root      20   0 1535020  39796   9772 S 100.0  0.1   2:18.76 python 

root     28593     1  5 04:14 ?        00:00:40 python /usr/bin/goferd --foreground

Later, I tested with latest compose7 and with following packages:
[root@apollo ~]# rpm -qa | grep qpid

And this time I don't see any process like python/goferd consuming more that 100% CPU on re-connection to qdrouterd. here is the result after fix:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                           
14834 root      20   0 1939924  46960  10328 S   0.7  0.6   0:07.83 python  

root     14834     1  0 04:03 ?        00:00:07 python /usr/bin/goferd --foreground

Please note that I've done this testing against Satellite/capsule installed on rhel7.
Comment 3 Sachin Ghai 2016-01-27 08:17:50 EST
Moving this bz to verified as per comment2. The other clients (rhel6, rhel5.11) tests can be covered in other bz 1295957
Comment 5 errata-xmlrpc 2016-01-28 02:25:41 EST
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.


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