Setting CUPS "MaxJobs 0" in RHEL
Issue
- There have been a few times that our print queues have max'd out with the error "
lp: Too many active jobs
". I have read that you can set the directiveMaxJobs 0
to keep the queue from maxing out. I have the following questions:- Are there any negatives to setting
MaxJobs 0
? - If there negatives, what are they?
- Are there any negatives to setting
- We ran into issue yesterday where we reached default max job limit of 500 and our application was not able to spool more print jobs and production came to a halt. I fixed this by setting
MaxJobs 0
and disabling the restriction. I'm just looking for best practices for the setting ofMaxJobs
. - The
lpstat
command is not returning, or takes a very long time (several minutes) to return.
Environment
- Red Hat Enterprise Linux (RHEL), all versions
- Common Unix Printing System (CUPS), all versions
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.