Univention Bugzilla – Bug 52006
Make MaxClients configurable through UCRV
Last modified: 2021-01-19 16:28:44 CET
In larger environments it might happen the number of cups clients reach the default value of 100. In this case cups has a somehow unpredictable behavior in throttling other clients. Esspecially in environments with Linux clients the cups-browserd on the clients open connections when booting to discover available printers. Logfile shows then: "Max clients reached, holding new connections..." So the number of MaxClients should be increased then to deal with this issue. But the /etc/cups/cupsd.conf file has the default value of 100 configured: # # MaxClients: controls the maximum number of simultaneous clients that # will be handled. Defaults to 100. # #MaxClients 100 They are not controlled by an UCRV! To increase the number customer has to edit the template file or the file directly. Both is not encouraged in case of UCS updates. So we should have an UCRV which allows to control this setting.
We have "local.conf" files for several services to define config options which ar enot changed during updates, isn't there one for cups?
Indeed, I was not aware of this possibility. I created the file /etc/cups/cupsd.local.conf AND set the ucr variable: ucr set cups/include/local=yes Now cups is starting with the configured 500 clients. Ok, can be closed.