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.

Environment

  • Red Hat Enterprise Linux (RHEL), all versions
  • Common Unix Printing System (CUPS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.