Bug 2074736

Summary: CUPS is too chatty about "Removing document files." in debug mode
Product: Red Hat Enterprise Linux 8 Reporter: Bryan Mason <bmason>
Component: cupsAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Petr Dancak <pdancak>
Severity: high Docs Contact:
Priority: high    
Version: 8.5CC: pdancak, psklenar
Target Milestone: rcKeywords: AutoVerified, TestCaseProvided, Triaged
Target Release: ---Flags: pdancak: needinfo+
pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cups-2.2.6-46.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-08 10:47:47 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:
Attachments:
Description Flags
Proposed patch none

Description Bryan Mason 2022-04-12 23:33:49 UTC
Description of problem:

  I'm seeing cases where debug logs are only a minute and a
  half long, but they contain 18 million lines.  17 million of those
  lines are the sequence:

    [Job 1434] Removing document files.
    cupsdMarkDirty(---J-)
    cupsdSetBusyState: newbusy="Active clients and dirty files", 
                       busy="Active clients and dirty files"

  repeated over and over again.

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

  cups-2.2.6-40

How reproducible:

  Unknown

Steps to Reproduce:

  Unknown

Actual results:

  Too many "Removing document files" lines

Expected results:

  Fewer "Removing document files" lines

Additional info:

  I'm working on reproducing this locally and then I'll test this
  upstream patch to see if it resolves the issue:

    https://github.com/apple/cups/commit/6647894

Comment 4 Bryan Mason 2022-04-13 01:19:55 UTC
Created attachment 1872048 [details]
Proposed patch

Comment 18 errata-xmlrpc 2022-11-08 10:47:47 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 (cups bug fix and enhancement update), 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-2022:7716