Bug 1350816
| Summary: | proc.psinfo.rss is incorrect with threads enabled | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marko Myllynen <myllynen> |
| Component: | pcp | Assignee: | Nathan Scott <nathans> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | brolley, fche, lberk, mbenitez, mgoodwin, nathans, pcp, scox |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pcp-3.11.4-1.el5 pcp-3.11.4-1.fc24 pcp-3.11.4-1.fc23 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-05 19:48:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Pretty sure this is related to the command field in files like /proc/pid/[task/]stat containing whitespace - certainly several of the firefox threads on my local system show this behavior anyway, and its definitely confusing the code. I'm pushing a fix for that into pcp git now, but it'd be good to confirm the contents of some of the thread procfs files from one of your affected systems too Marko/Lukas - thanks. The patch fixes the issue for me. Thanks! pcp-3.11.4-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-415f0c78ed pcp-3.11.4-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b76275250f pcp-3.11.4-1.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-a51156083f pcp-3.11.4-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-b76275250f pcp-3.11.4-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-a51156083f pcp-3.11.4-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-415f0c78ed pcp-3.11.4-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. pcp-3.11.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.11.4-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: When using -L with pmdaproc threads are listed as expected for proc.psinfo.pid and others. However, at least for proc.psinfo.rss some values reported are impossible: $ top -b -n 1 | grep firefox 7855 testuser 20 0 2027664 661412 69580 S 0.0 8.4 14:42.15 firefox $ pminfo -f proc.psinfo.rss | grep firefox inst [7855 or "007855 /usr/lib64/firefox/firefox"] value 660672 inst [7872 or "007872 /usr/lib64/firefox/firefox"] value 660672 inst [7873 or "007873 /usr/lib64/firefox/firefox"] value 4008509440 inst [7874 or "007874 /usr/lib64/firefox/firefox"] value 4008509440 inst [7875 or "007875 /usr/lib64/firefox/firefox"] value 4008509440 inst [7876 or "007876 /usr/lib64/firefox/firefox"] value 4008509440 inst [7877 or "007877 /usr/lib64/firefox/firefox"] value 4008509440 inst [7878 or "007878 /usr/lib64/firefox/firefox"] value 4008509440 ... First observed by lukas` on IRC.