Bug 2217954

Summary: Enlarge backlog queue for listen() in cupsd
Product: Red Hat Enterprise Linux 9 Reporter: Zdenek Dohnal <zdohnal>
Component: cupsAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Petr Dancak <pdancak>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.2CC: omejzlik, pdancak
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cups-2.3.3op2-19.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2217955 (view as bug list) Environment:
Last Closed: 2023-11-07 08:39:54 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: 2217955    
Attachments:
Description Flags
Upstream patch none

Description Zdenek Dohnal 2023-06-27 15:38:56 UTC
Created attachment 1972872 [details]
Upstream patch

Description of problem:
cupsd may drop requests if many requests come at one time, because listen() backlog queue gets full. This may lead to losing print job requests etc.

Version-Release number of selected component (if applicable):
cups-2.3.3op2-18.el9

How reproducible:
Sometimes during heavy load of requests to cupsd

Steps to Reproduce:
1. send many print jobs to cupsd in short time
2. check if some of them are not processed

Actual results:
In case backlog queue got full, some jobs might not be created

Expected results:
All or at least more jobs are created

Additional info:
Upstream issue:
https://github.com/OpenPrinting/cups/issues/308

Upstream fix:
https://github.com/OpenPrinting/cups/commit/876fdc1c90

Comment 11 errata-xmlrpc 2023-11-07 08:39:54 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 (Moderate: cups security and bug fix 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/RHSA-2023:6596