[cups.bugs] [HIGH] STR #3180: 5 second pause between multiple submitted jobs

Wendell Dingus wendell at BISonline.com
Fri May 1 07:17:14 PDT 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

I have searched high and low for details of this and have come up empty so
far. I'm certain I read _somewhere_ about an intentional insertion of a
5-second pause between print jobs being added at some point in the 1.3.x
code but can not locate that now. So, since I'm specifically experiencing
that issue on multiple servers/printers, I'm checking to see if indeed
that is intentional and there's a need for it or if it's a bug. To me it's
a bug, users are complaining, printers used to kick on and spit out a bunch
of pages and now they start and stop and pause and it's annoying my users.
This might also be something specific to the version provided by RedHat. I
just don't know, so I am here to kindly ask for assistance/guidance.

These CUPS versions exhibit the behavior I'm describing:
cups-1.3.10-1.fc9.x86_64   Fedora 9
cups-1.3.7-8.el5_3.4  RHEL 5.3

This one does not, multiple print jobs print quickly:
cups-1.2.4-11.5.el5   RHEL 5

How to reproduce:
# for i in 1 2 3; do echo "test" | lpr -PDell; done ; while true; do date;
lpstat -o; sleep 1; done
Thu Apr 30 22:53:38 EDT 2009
Dell-59                 root              1024   Thu 30 Apr 2009 10:53:38
PM EDT
Dell-60                 root              1024   Thu 30 Apr 2009 10:53:38
PM EDT
Dell-61                 root              1024   Thu 30 Apr 2009 10:53:38
PM EDT
Thu Apr 30 22:53:39 EDT 2009
Thu Apr 30 22:53:40 EDT 2009 ^C

That's on the RHEL5 box. One second after 3 jobs were created and queued
they were gone, in the printers memory, ink is hitting paper rapidly.

Not so for the box that has been upgraded to RHEL 5.3:

# for i in 1 2 3; do echo "test" | lpr -PDell; done ; while true; do date;
lpstat -o; sleep 1; done
Thu Apr 30 22:54:35 EDT 2009
Dell-79                 root              1024   Thu 30 Apr 2009 10:54:35
PM EDT
Dell-80                 root              1024   Thu 30 Apr 2009 10:54:35
PM EDT
Dell-81                 root              1024   Thu 30 Apr 2009 10:54:35
PM EDT
Thu Apr 30 22:54:36 EDT 2009
Dell-79                 root              1024   Thu 30 Apr 2009 10:54:35
PM EDT
Dell-80                 root              1024   Thu 30 Apr 2009 10:54:35
PM EDT
Dell-81                 root              1024   Thu 30 Apr 2009 10:54:35
PM EDT
...snip..
Thu Apr 30 22:54:41 EDT 2009
Dell-80                 root              1024   Thu 30 Apr 2009 10:54:35
PM EDT
Dell-81                 root              1024   Thu 30 Apr 2009 10:54:35
PM EDT ^C

So, is there a legitimate reason for this behavior? Can I get around it
via a configuration option (yes I RTFM and nothing jumped out at me as
being a configurable setting for this)?

Thanks

Link: http://www.cups.org/str.php?L3180
Version: 1.3.7





More information about the cups-devel mailing list