Bug 446023 - support MaxClients > 1024
Summary: support MaxClients > 1024
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cups
Version: 5.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-12 06:35 UTC by Andrew Ryan
Modified: 2018-10-20 01:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-20 21:58:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2009:0201 0 normal SHIPPED_LIVE cups enhancement update 2009-01-20 16:06:07 UTC

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


Note You need to log in before you can comment on or make changes to this bug.