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.
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.
This bug needs a review from the component owner before granting Devel ACK. Thanks, Read ya, Phil
Granting Devel ACK. Read ya, Phil
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