usb backend hogs cpu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cupsys
I have Ubuntu Dapper installed, with cups 1.2.2-0ubuntu0.6.06
I have an Epson Stylus Photo R2400 attached via usb. When
I try to print, the following things happen:
i) Load average goes up to over 3
ii) the usb backend process hogs nearly all of the cpu: most of the
time over 80%, occasionally 99%. This starts happening as soon
as I submit the print job, before rastertogutenprint has even
started, so it's hard to see what cups can have to say to the printer
at that stage.
iii) strace on the usb process reveals some sort of busy loop,
though this must occasionally be interrupted, because
printing does eventually happen,
iv) gs-esp, which usually hogs cpu when printing, manages
to get 0.3% of the cpu (no kidding)
v) printing is extremely slow (20 hours or so to print the test page).
No surprise, given the above.
This printer did work (and work quite well) both under breezy
and under the previous cups package under dapper, though
there were problems (gs-esp used to crash with certain types
of output). But printing wasn't as comprehensively broken as it is now.
I'm attaching configuration files, strace output, etc.
Thanks for you bug report. cups/error_ log
Could you also provide the cups error_log:
1) change LogLevel in cupsd.conf from warning to debug
2) restart cups: sudo /etc/init.d/cupsys restart
3) print something
4) attach the relevant parts of /var/log/