[cups.bugs] [HIGH] STR #4029: MaxClients limited to 341 clients because of wrong file descriptor value

pawel mail at konczalski.de
Thu Feb 23 06:23:18 PST 2012


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Finaly, i found the solution for this problem. It´s not a CUPS but Upstart
problem.

Since Ubuntu Maverick CUPS will by startet by Upstart instead of init.d
script. Unfortunately Upstart ignores the limits set in
/etc/security/limits.conf. The solution for this problem is to set the
limits in Upstart CUPS config file /etc/init/cups.conf e.g.:

limit nofile 4096 4096

After CUPS restart "/etc/init.d/cups restart" limits settings are back
correctly:

grep Max /var/log/cups/error_log
I [23/Feb/2012:12:41:56 +0100] MaxClients limited to 1/3 (1365) of the
file descriptor limit (4096)...

BR Pawel

Link: http://www.cups.org/str.php?L4029
Version: 1.4.4





More information about the cups mailing list