Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Configuration for MaxSubscriptions (needed for > 100 clients) #227

Open
olifre opened this issue Jan 14, 2020 · 0 comments
Open

Configuration for MaxSubscriptions (needed for > 100 clients) #227

olifre opened this issue Jan 14, 2020 · 0 comments

Comments

@olifre
Copy link

olifre commented Jan 14, 2020

Given CentOS 7.7 with Puppet 5.5.17 and CUPS 1.6.3.

When I have about 150 clients.

In order to Support 150 clients.

Then I get the error message:

E [14/Jan/2020:13:25:39 +0100] Returning IPP client-error-too-many-subscriptions for Create-Printer-Subscription (/)

every minute in cups error log.

Solution
Define MaxSubscriptions (and of course, max_clients which this module already supports).
In total, there are four variables of interest here:

MaxSubscriptions
MaxSubscriptionsPerJob
MaxSubscriptionsPerPrinter
MaxSubscriptionsPerUser

see:
https://github.com/apple/cups/blob/1f2a315c2b3e2f78c37c1505fc66909ad01df85e/scheduler/conf.c#L119-L122

It would be nice to see this supported (since this is the natural extension of the max_clients property). The default within cups seems to be 100 maximum subscribers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant