[cups] snmp backend started a job failed
Alex Korobkin
korobkin+cups at gmail.com
Fri Jul 24 08:55:28 PDT 2015
Hi all,
I just noticed that a couple of failed jobs seem to have launched snmp
backend for no apparent reason. One of them failed because foomatic-rip had
crashed on signal 6. Another one failed because "Error reading back-channel
data: Connection reset by peer."
Both have this line in the log:
[Job X] backendWaitLoop(snmp_fd=5, addr=0x7..., side_cb=0x7...)
I checked the logs and found that this happens every time when a job fails
with one of these errors.
All my printers have cupsSNMPsupples set to False in the PPD.
Is this a bug, or does CUPS intentionally start snmp when a job fails?
Typical end of a job log below:
[Job 399799] Started filter pdftocairo (PID 5283)
[Job 399799] Started filter pstops (PID 5284)
[Job 399799] PID 5283 (pdftocairo) exited with no errors.
[Job 399799] Page = 612x792; 12,12 to 600,780
[Job 399799] slow_collate=0, slow_duplex=1, slow_order=0
[Job 399799] Before copy_comments - %!PS-Adobe-3.0
[Job 399799] %!PS-Adobe-3.0
[Job 399799] %%Creator: cairo 1.14.2 (http://cairographics.org)
[Job 399799] %%CreationDate: Wed Jul 22 20:45:01 2015
[Job 399799] %%Pages: 2
[Job 399799] %%DocumentData: Clean7Bit
[Job 399799] %%LanguageLevel: 3
[Job 399799] %%DocumentMedia: Letter 612 792 0 () ()
[Job 399799] %%BoundingBox: 35 70 455 757
[Job 399799] %%EndComments
[Job 399799] Before copy_prolog - %%BeginProlog
[Job 399799] Before copy_setup - %%BeginSetup
[Job 399799] Before page loop - %%Page: 1 1
[Job 399799] Copying page 1...
[Job 399799] pagew = 588.0, pagel = 768.0
[Job 399799] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
[Job 399799] PageLeft = 12.0, PageRight = 600.0
[Job 399799] PageTop = 780.0, PageBottom = 12.0
[Job 399799] PageWidth = 612.0, PageLength = 792.0
[Job 399799] Copying page 2...
[Job 399799] PID 5280 (/usr/lib/cups/filter/foomatic-rip) crashed on
signal 6.
[Job 399799] Hint: Try setting the LogLevel to "debug" to find out more.
[Job 399799] pagew = 588.0, pagel = 768.0
[Job 399799] bboxx = 0, bboxy = 0, bboxw = 612, bboxl = 792
[Job 399799] PageLeft = 12.0, PageRight = 600.0
[Job 399799] PageTop = 780.0, PageBottom = 12.0
[Job 399799] PageWidth = 612.0, PageLength = 792.0
[Job 399799] Wrote 2 pages...
[Job 399799] PID 5284 (pstops) exited with no errors.
[Job 399799] PID 5279 (/usr/lib/cups/filter/pdftops) exited with no errors.
[Job 399799] PID 5281 (/usr/lib/cups/backend/socket) exited with no errors.
[Job 399799] backendWaitLoop(snmp_fd=5, addr=0x7f35d39f3d58,
side_cb=0x7f35d28581d0)
[Job 399799] End of messages
[Job 399799] printer-state=3(idle)
[Job 399799] printer-state-message="Filter failed"
[Job 399799] printer-state-reasons=none
[Job 399799] Stopping unresponsive job.
--
-Alex
More information about the cups
mailing list