Bug 2228415

Summary: Cannot process /proc/<PID>/limits files
Product: [Fedora] Fedora Reporter: Charles Dennett <cdennett>
Component: netdataAssignee: Didier Fabert (tartare) <didier.fabert>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: didier.fabert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: netdata-1.42.1-1.el9 netdata-1.42.1-1.fc37 netdata-1.42.1-1.el7 netdata-1.42.1-1.el8 netdata-1.42.1-1.fc38 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-26 00:33:22 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:

Description Charles Dennett 2023-08-02 11:02:28 UTC
Description of problem:After upgrading to netdata 1.41.0 (was at 1.39), errors of the form Cannot process /proc/<PID>/limits file appear every hour in the system journal.  There are dozens of these errors every hour for different PIDs.  These errors did not appear in the previous versions of netdata.  They are produced by the apps.plugin module of netdata.  Here is a copy of the journal for a few of the most recent:

Aug 02 06:45:19 redwood apps.plugin[2969]: Cannot process /proc/13478/limits (command 'less')
Aug 02 06:45:19 redwood apps.plugin[2969]: Cannot process /proc/6475/limits (command 'chrome')
Aug 02 06:45:19 redwood apps.plugin[2969]: Cannot process /proc/5952/limits (command 'gvfsd-http')
Aug 02 06:45:19 redwood apps.plugin[2969]: Cannot process /proc/4478/limits (command 'httpd')
Aug 02 06:45:19 redwood apps.plugin[2969]: Cannot process /proc/4364/limits (command 'imap')
Aug 02 06:45:19 redwood apps.plugin[2969]: Cannot process /proc/4354/limits (command 'imap-login')

The files are world readable.

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


How reproducible: Happens continuously with dozens of these errors apearing spaced an hour apart


Steps to Reproduce:
1.   Run netdata
2.
3.

Actual results:  Lots of errors every hour


Expected results:  No errors.


Additional info:

Comment 1 Charles Dennett 2023-08-16 15:05:56 UTC
Looks like this has been fixed in 1.42.  Just need to get that into the repos.

Comment 2 Fedora Update System 2023-08-17 06:49:25 UTC
FEDORA-2023-e05de74e7b has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e05de74e7b

Comment 3 Fedora Update System 2023-08-17 06:49:40 UTC
FEDORA-2023-6c9fb937ac has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6c9fb937ac

Comment 4 Fedora Update System 2023-08-17 06:49:59 UTC
FEDORA-EPEL-2023-269941ab0f has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-269941ab0f

Comment 5 Fedora Update System 2023-08-17 06:50:04 UTC
FEDORA-EPEL-2023-07b0778efa has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-07b0778efa

Comment 6 Fedora Update System 2023-08-17 06:50:09 UTC
FEDORA-EPEL-2023-0d230f1117 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-0d230f1117

Comment 7 Fedora Update System 2023-08-18 00:23:56 UTC
FEDORA-EPEL-2023-0d230f1117 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-0d230f1117

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-08-18 02:05:48 UTC
FEDORA-EPEL-2023-269941ab0f has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-269941ab0f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-08-18 02:11:31 UTC
FEDORA-EPEL-2023-07b0778efa has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-07b0778efa

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2023-08-18 07:23:41 UTC
FEDORA-2023-6c9fb937ac has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-6c9fb937ac \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6c9fb937ac

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2023-08-18 07:40:34 UTC
FEDORA-2023-e05de74e7b has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e05de74e7b \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e05de74e7b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2023-08-26 00:33:22 UTC
FEDORA-EPEL-2023-0d230f1117 has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2023-08-26 01:10:52 UTC
FEDORA-2023-6c9fb937ac has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2023-08-26 01:26:26 UTC
FEDORA-EPEL-2023-269941ab0f has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-08-26 01:41:45 UTC
FEDORA-EPEL-2023-07b0778efa has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 16 Fedora Update System 2023-08-26 02:03:41 UTC
FEDORA-2023-e05de74e7b has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.