Comment 0 for bug 1804576

Revision history for this message
Trent Lloyd (lathiat) wrote :

When using CUPS filters, these filters can take a few seconds to complete.

In this case no documents are allowed to be lost on printing failures, so we used to set "MaxJobTime 0" in cupsd.conf which worked on Ubuntu 14.04.

With cups on 18.04, you get the following message in /var/log/cups/error_log whenever the filter takes a little longer:
I [12/Nov/2018:14:43:26 +0100] [Job 18] Canceling stuck job after 0 seconds.

Then, the job is deleted and lost.

"MaxJobTime 0" is documented as "indefinite wait", but apparently cups treats is as "wait almost not at all".

This issue appears to have also been filed upstream: https://github.com/apple/cups/issues/5438