Bug 1641777

Summary: High load in systemd when cups.path and cups.service is enabled
Product: Red Hat Enterprise Linux 7 Reporter: Zdenek Dohnal <zdohnal>
Component: systemdAssignee: Jan Synacek <jsynacek>
Status: CLOSED ERRATA QA Contact: Frantisek Sumsal <fsumsal>
Severity: medium Docs Contact:
Priority: high    
Version: 7.7CC: bmason, fsumsal, jsynacek, systemd-maint-list
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-219-73.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 20:02:09 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:
Bug Depends On:    
Bug Blocks: 1477664, 1589388, 1618009, 1630905, 1716963, 1719445    

Description Zdenek Dohnal 2018-10-22 17:58:02 UTC
Description of problem:
When I send many jobs for printing, then the machine experiences high load caused by systemd process. This behavior happens when cups.service and cups.path are both enabled and running.

Version-Release number of selected component (if applicable):
systemd-219-57.el7.x86_64

How reproducible:
Always

Steps to Reproduce:
Scripts and steps how to reproduce are in https://bugzilla.redhat.com/show_bug.cgi?id=1589388

Actual results:
High load of systemd process

Expected results:
No high load

Additional info:
This issue is actually clone of https://bugzilla.redhat.com/show_bug.cgi?id=1589388 , which is reported on CUPS component. After talking with Michal Sekletar he proposed to create separate bug for investigating, if it is really systemd issue or only cups issue.

Comment 2 Jan Synacek 2018-10-24 06:44:59 UTC
Looking at some performance data I've collected on my testing system, most of the cpu time is actually spent in the kernel, no matter if the PathExistsGlob= matches or not. I'm going to follow up with real data and analysis.

Comment 3 Jan Synacek 2018-10-24 11:25:09 UTC
https://github.com/systemd/systemd/issues/10503

Comment 5 Zdenek Dohnal 2018-12-03 12:50:02 UTC
*** Bug 1589388 has been marked as a duplicate of this bug. ***

Comment 8 Jan Synacek 2019-09-17 13:26:21 UTC
https://github.com/systemd/systemd/pull/13509/

Comment 10 Jan Synacek 2019-09-18 08:24:53 UTC
https://github.com/systemd-rhel/rhel-7/pull/44

Comment 12 Lukáš Nykrýn 2019-10-25 08:58:33 UTC
fix merged to github master branch -> https://github.com/systemd-rhel/rhel-7/pull/44 -> post

Comment 16 errata-xmlrpc 2020-03-31 20:02:09 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://access.redhat.com/errata/RHBA-2020:1117