Bug 446023

Summary: support MaxClients > 1024
Product: Red Hat Enterprise Linux 5 Reporter: Andrew Ryan <aryan>
Component: cupsAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.1CC: dkovalsk, tao, ykopkova
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 21:58:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Robinson 2008-05-12 06:35:57 UTC
Description of problem:
Setting the MaxClients configuration option to a value greater than 1024 has no
affect. MaxClients is limited to 1/3 of the file descriptor limit (1024),
therefore the maximum number of simultaneous connections CUPS can handle is 341.

Version-Release number of selected component (if applicable):
cups-1.2.4-11.14.el5_1.6

How reproducible:
100%

Steps to Reproduce:
1. echo "MaxClients 4096" >> /etc/cups/cupsd.conf
2. service cups restart
3. grep MaxClients /var/log/cups/error_log
  
Actual results:
I [30/Apr/2008:08:12:02 +1000] MaxClients limited to 1/3 (341) of the file
descriptor limit (1024)...

Expected results:
I [30/Apr/2008:08:12:02 +1000] MaxClients limited to 1/3 (1365) of the file
descriptor limit (4096)...

Additional info:
This is upstream bug L1261:

http://www.cups.org/str.php?L1261

Cups 1.2 uses select(), which is limited to 1024 file descriptors, instead of
poll(), epoll(), or kqueue(). The fix for this was merged in 1.3.

Comment 3 RHEL Program Management 2008-06-02 20:00:38 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 Phil Knirsch 2008-06-13 13:36:46 UTC
This bug needs a review from the component owner before granting Devel ACK.

Thanks,

Read ya, Phil


Comment 7 Phil Knirsch 2008-06-17 09:23:33 UTC
Granting Devel ACK.

Read ya, Phil

Comment 14 errata-xmlrpc 2009-01-20 21:58:49 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-0201.html