RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1238550 - Python PMAPI clients suboptimal signal handling
Summary: Python PMAPI clients suboptimal signal handling
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcp
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nathan Scott
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-02 06:55 UTC by Marko Myllynen
Modified: 2016-11-04 04:22 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 04:22:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2344 0 normal SHIPPED_LIVE pcp bug fix and enhancement update 2016-11-03 13:46:51 UTC

Description Marko Myllynen 2015-07-02 06:55:17 UTC
Description of problem:
pmiostat doesn not react to signals instantly, for example in the following scenario Ctrl-C is pressed instantly after pmiostat starts but it takes almost 10 seconds before pmiostat quits:

localhost:~> pmiostat -t10s
^Clocalhost:~> 

Version-Release number of selected component (if applicable):
pcp-3.10.5-2.el7.x86_64

Comment 2 Nathan Scott 2015-07-15 07:17:21 UTC
Mark, you know this code best - please reassign back to me if time/other constraints get in the way of fixing it for 7.3 - cheers.

Comment 3 Marko Myllynen 2015-10-08 13:27:41 UTC
This is actually not limited to pmiostat only but happens with any Python client.

Comment 4 Nathan Scott 2015-10-12 01:00:57 UTC
This is fixed upstream now (commit 40141eeec6) - resulted from a poor interaction between signal handling in the python interpreter and a libpcp nanosleep call.

Comment 6 Miloš Prchlík 2016-08-20 15:50:00 UTC
Verified for build pcp-3.11.3-3.el7.

Comment 8 errata-xmlrpc 2016-11-04 04:22:22 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://rhn.redhat.com/errata/RHBA-2016-2344.html


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