Terminate filters if one in the chain fails
Hi,
Is it possible to notify the scheduler from a filter that all the processes (filters) of the current job must be terminated?
I have a situation when a filter exits with exit code 1 along with the backend, but one filter stays working (converting pages to raster) until all pages are done.
The filter gets a sigpipe when the others exit, but ignores it.
Even with the error policy set to abort-job, if I send a 300 pages pdf document to print and the printer fails at some point, I have to wait for the filter to complete converting all pages before the job ends/fails. Is there a way to notify the scheduler and fail faster?
Can you tell us which filter keeps running? You can discover it by the top or ps commands. With the latter look for jobs run by the user lp.