Setting CUPS "MaxJobs 0" in RHEL

Solution Verified - Updated -

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 directive MaxJobs 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?
  • 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 of MaxJobs.
  • 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content