Bug 446023 - support MaxClients > 1024
Summary: support MaxClients > 1024
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cups
Version: 5.1
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
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:
Last Closed: 2009-01-20 21:58:49 UTC
Target Upstream Version:

Attachments (Terms of Use)

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):

How reproducible:

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:


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

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


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.


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