This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1365658 - Several pcp daemons could benefit from auto-restart
Several pcp daemons could benefit from auto-restart
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: pcp (Show other bugs)
24
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nathan Scott
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-09 14:54 EDT by Frank Ch. Eigler
Modified: 2016-10-25 20:58 EDT (History)
9 users (show)

See Also:
Fixed In Version: pcp-3.11.5-1.el5 pcp-3.11.5-1.fc24 pcp-3.11.5-1.fc23 pcp-3.11.5-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-10-25 12:16:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
implementation for systemd (2.52 KB, patch)
2016-08-09 14:54 EDT, Frank Ch. Eigler
no flags Details | Diff

  None (edit)
Description Frank Ch. Eigler 2016-08-09 14:54:41 EDT
Created attachment 1189379 [details]
implementation for systemd

It has been reported that pmwebd sometimes crashes.  While the cause(s) are under investigation, this reminds one of other cases where bugs in libpcp or the tools themselves have caused OOM or crashes for pmwebd and pmmgr.  In order to protect the user from unnecessary outage of these services, they should be auto-restarted.
Comment 1 Nathan Scott 2016-08-09 19:33:40 EDT
+1  - and the same potential benefits exist for pmcd and pmproxy, of course.

As discussed here ...

    http://www.pcp.io/pipermail/pcp/2016-May/010464.html
    http://www.pcp.io/pipermail/pcp/2016-May/010519.html

... the attached patch is incomplete and needs a little more work.

Thanks for opening the BZ though - let's use it as a reminder that a patch like this one, and some QA testing work, is still needed.
Comment 2 Frank Ch. Eigler 2016-08-10 13:07:48 EDT
(In reply to Nathan Scott from comment #1)
> +1  - and the same potential benefits exist for pmcd and pmproxy, of course.

Not "of course".  Compared to pmwebd & pmmgr, those daemons pose a much smaller load on libpcp and the system, and have been apprx. unaffected by crashes.


> As discussed here ...
> [...]
> ... the attached patch is incomplete and needs a little more work.

The patches are complete for pmmgr & pmwebd, the affected daemons.
Comment 3 Nathan Scott 2016-08-11 00:59:47 EDT
(In reply to Frank Ch. Eigler from comment #2)
> 
> [...]  Compared to pmwebd & pmmgr, those daemons pose a much
> smaller load on libpcp and the system,  [...]
> 

pmcd and pmproxy can also potentially fail and so could benefit from this treatment, that's all I'm saying.  In fact, you said it too...

> 
> The patches are complete for pmmgr & pmwebd, the affected daemons.
> 

Your own attached patch explicitly states that pmcd could benefit, and you are right there.  No doubt that was why you attempted to make it work earlier (i.e. before reverting your own changes in that area).


Anyway, in the interests of moving things along I have completed this work and it's all been merged upstream (commit b0b6ab0746 for reference).
Comment 4 Fedora Update System 2016-09-27 16:21:51 EDT
pcp-3.11.5-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8d14b648a5
Comment 5 Fedora Update System 2016-09-28 01:56:50 EDT
pcp-3.11.5-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ca5c041e73
Comment 6 Fedora Update System 2016-09-28 02:25:18 EDT
pcp-3.11.5-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b32e6fdc78
Comment 7 Fedora Update System 2016-09-28 21:15:59 EDT
pcp-3.11.5-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-63742f1d5b
Comment 8 Fedora Update System 2016-10-25 12:16:44 EDT
pcp-3.11.5-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2016-10-25 16:21:31 EDT
pcp-3.11.5-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
Comment 10 Fedora Update System 2016-10-25 19:50:40 EDT
pcp-3.11.5-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2016-10-25 20:58:01 EDT
pcp-3.11.5-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

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