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)...
Finaly, i found the solution for this 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 2012:12: 41:56 +0100] MaxClients limited to 1/3 (1365) of the file descriptor limit (4096)...
I [23/Feb/
BR Pawel