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

BR Pawel

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/938669

Title:
  Can not increase MaxClients in cups (Max clients reached, holding new
  connections...)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/938669/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to