[cups.general] Error reading back-channel data: Connection reset by peer

Matt LaPlante mattl at google.com
Wed Mar 9 14:56:07 PST 2011


We're having problems printing to some Ricoh printers via cups (1.4.5).  The
printers will stay online, but files in the associated cups queue printing
to them will intermittently get hung with a job (often a PDF) sitting in
'processing' status forever.  The error log seems to indicate a failure
writing to the connection.

....
D [09/Mar/2011:17:21:13 +0000] [Job 1612] Read 8192 bytes of print data...
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.1 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.2 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.3 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.4 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.5 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] ATTR: marker-levels=-1,-1,-1,-1,-1
D [09/Mar/2011:17:21:13 +0000] [Job 1612] Before copy_setup - %%BeginSetup
D [09/Mar/2011:17:21:13 +0000] [Job 1612] Wrote 1152 bytes of print data...
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.1 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.2 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.3 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.4 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] prtMarkerSuppliesLevel.1.5 = -3
D [09/Mar/2011:17:21:13 +0000] [Job 1612] ATTR: marker-levels=-1,-1,-1,-1,-1
D [09/Mar/2011:17:21:13 +0000] [Job 1612] Error reading back-channel data:
Connection reset by peer
D [09/Mar/2011:17:21:13 +0000] [Job 1612] Set job-printer-state-message to
"Unable to write print data: Broken pipe", current level=ERROR
D [09/Mar/2011:17:21:13 +0000] [Job 1612] Print file sent, waiting for
printer to finish...

The job never goes through.  The filters are not failing, and you can find
the job, including filter, sitting in the process list.  An strace of the
socket://printer-name process shows what appears to be back-channel* traffic
over and over again.  The queue gets backed up because the job never stops
or goes away until an administrator steps in and cancels it.  I'm open to
this being a Ricoh firmware problem, but I'd like to know of I can at least
get some insight into what *should* be happening here.  Is the back channel
data actually capable of failing a print job, or is it a red herring?  Is it
normal for the same values to be repeated over and over again?


* Tons of this:
D [09/Mar/2011:17:44:52 +0000] [Job 1612] ATTR: marker-levels=-1,-1,-1,-1,-1
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.1 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.2 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.3 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.4 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.5 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] ATTR: marker-levels=-1,-1,-1,-1,-1
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.1 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.2 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.3 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.4 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.5 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] ATTR: marker-levels=-1,-1,-1,-1,-1
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.1 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.2 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.3 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.4 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.5 = -3
D [09/Mar/2011:17:44:52 +0000] [Job 1612] ATTR: marker-levels=-1,-1,-1,-1,-1
D [09/Mar/2011:17:44:52 +0000] [Job 1612] prtMarkerSuppliesLevel.1.1 = -3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20110309/f48222c0/attachment-0001.html>


More information about the cups mailing list