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

pawel <mail-4Ni6uPdbbB/Zctt5c/[email protected]>
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
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

_______________________________________________
cups-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/cups-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.