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):
Steps to Reproduce:
1. echo "MaxClients 4096" >> /etc/cups/cupsd.conf
2. service cups restart
3. grep MaxClients /var/log/cups/error_log
I [30/Apr/2008:08:12:02 +1000] MaxClients limited to 1/3 (341) of the file
descriptor limit (1024)...
I [30/Apr/2008:08:12:02 +1000] MaxClients limited to 1/3 (1365) of the file
descriptor limit (4096)...
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.
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
This bug needs a review from the component owner before granting Devel ACK.
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.