[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#664538: marked as done (cups: Printing is very slow (100% CPU usage by gs))



Your message dated Wed, 15 Mar 2017 17:36:50 +0000
with message-id <15032017173421.fc6698740064@desktop.copernicus.org.uk>
and subject line Re: Bug#664538: cups: Printing is very slow (100% CPU usage by gs)
has caused the Debian Bug report #664538,
regarding cups: Printing is very slow (100% CPU usage by gs)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
664538: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664538
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups
Version: 1.5.2-8
Severity: important

There is similar problem repoerted, but do not know how releated.

On my CUPS server (Pentium 3 700MHz, with 512MB of RAM),
any documents (like pdf, odf, web page in epiphany or firefox),
takes like 5 minutes to print first page. On CUPS server a 'gs'
process is taking 100% CPU and always about 200-213MB of RAM.

root@romeo:~# ps aux | grep gs
lp       12364  0.0  0.2   4560  1072 ?        S    19:17   0:00 /bin/bash -c
gs -q -sstdout=%stderr -sDEVICE=ps2write -sOutputFile=- -dBATCH -dNOPAUSE
-dPARANOIDSAFER -dNOINTERPOLATE /var/spool/cups/tmp/foomatic-H1Rke7 2>/dev/null
|| PATH=${PATH#*/cups/filter:} pdftops -level2 -origpagesizes
/var/spool/cups/tmp/foomatic-H1Rke7 - 2>/dev/null
lp       12365 98.9 40.6 220260 208516 ?       R    19:17   4:05 gs -q
-sstdout=%stderr -sDEVICE=ps2write -sOutputFile=- -dBATCH -dNOPAUSE
-dPARANOIDSAFER -dNOINTERPOLATE /var/spool/cups/tmp/foomatic-H1Rke7
#

First page takes 5 minutes, but each next page from same pdf
documents take like 15 seconds.

It is really annoying, to wait 1 hour to print 10 pages!

Bus 002 Device 051: ID 03f0:2b17 Hewlett-Packard LaserJet 1020


root@romeo:~# dpkg -l | grep cups
ii  cups                                 1.5.0-13                     Common
UNIX Printing System(tm) - server
ii  cups-bsd                             1.5.0-13                     Common
UNIX Printing System(tm) - BSD commands
ii  cups-client                          1.5.0-13                     Common
UNIX Printing System(tm) - client programs (SysV)
ii  cups-common                          1.5.0-13                     Common
UNIX Printing System(tm) - common files
ii  cups-driver-gutenprint               5.2.7-5
transitional dummy package for gutenprint printer driver
ii  cups-ppdc                            1.5.0-13                     Common
UNIX Printing System(tm) - PPD manipulation utilities
ii  ghostscript-cups                     9.05~dfsg-2
interpreter for the PostScript language and for PDF - CUPS filters
ii  hplip-cups                           3.11.12-2
transitional dummy package for hpcups printer driver
ii  libcups2                             1.5.0-13                     Common
UNIX Printing System(tm) - Core library
ii  libcupscgi1                          1.5.0-13                     Common
UNIX Printing System(tm) - CGI library
ii  libcupsdriver1                       1.5.0-13                     Common
UNIX Printing System(tm) - Driver library
ii  libcupsimage2                        1.5.0-13                     Common
UNIX Printing System(tm) - Raster image library
ii  libcupsmime1                         1.5.0-13                     Common
UNIX Printing System(tm) - MIME library
ii  libcupsppdc1                         1.5.0-13                     Common
UNIX Printing System(tm) - PPD manipulation library
ii  printer-driver-hpcups                3.11.12-2                    HP Linux
Printing and Imaging - CUPS Raster driver (hpcups)
root@romeo:~# dpkg -l | grep hpl
ii  hplip                                3.11.12-2                    HP Linux
Printing and Imaging System (HPLIP)
ii  hplip-cups                           3.11.12-2
transitional dummy package for hpcups printer driver
ii  hplip-data                           3.11.12-2                    HP Linux
Printing and Imaging - data files
ii  hplip-doc                            3.11.12-2                    HP Linux
Printing and Imaging - documentation
root@romeo:~# dpkg -l | grep foo
ii  foo2zjs                              20111202dfsg0-1
transitional dummy package for foo2zjs printer driver
ii  foomatic-db                          20120212-1
OpenPrinting printer support - database
ii  foomatic-db-engine                   4.0.8-2
OpenPrinting printer support - programs
ii  foomatic-db-gutenprint               5.2.7-5
OpenPrinting printer support - database for Gutenprint printer drivers
ii  foomatic-filters                     4.0.12-1
OpenPrinting printer support - filters
ii  printer-driver-foo2zjs               20111202dfsg0-1              printer
driver for ZjStream-based printers

A server is on wheezy (testing), i386. There was no problems on squeezy -
printing was starting in maybe 10-20 seconds, depending on comlexity of
document.


Thanks.




-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.3.0-rc7-t43-devel-smp-00048-g762ad8a-dirty (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups depends on:
ii  adduser                3.113+nmu1
ii  bc                     1.06.95-2
ii  cups-client            1.5.2-8
ii  cups-common            1.5.2-8
ii  cups-filters           1.0.5-1
ii  cups-ppdc              1.5.2-8
ii  debconf [debconf-2.0]  1.5.42
ii  dpkg                   1.16.2~wipmultiarch
ii  ghostscript            9.05~dfsg-3
ii  libavahi-client3       0.6.31-1
ii  libavahi-common3       0.6.31-1
ii  libc6                  2.13-27
ii  libcups2               1.5.2-8
ii  libcupscgi1            1.5.2-8
ii  libcupsimage2          1.5.2-8
ii  libcupsmime1           1.5.2-8
ii  libcupsppdc1           1.5.2-8
ii  libdbus-1-3            1.4.18-1
ii  libgcc1                1:4.7.0~rc2-1
ii  libgnutls26            2.12.18-1
ii  libgssapi-krb5-2       1.10+dfsg~beta1-2
ii  libkrb5-3              1.10+dfsg~beta1-2
ii  libldap-2.4-2          2.4.28-1.1
ii  libpam0g               1.1.3-7
ii  libpaper1              1.1.24+nmu1
ii  libslp1                1.2.1-9
ii  libstdc++6             4.7.0~rc2-1
ii  libusb-1.0-0           2:1.0.9~rc3-3
ii  lsb-base               3.2+Debian31
ii  poppler-utils          0.16.7-3
ii  procps                 1:3.3.2-3
ii  ssl-cert               1.0.28

Versions of packages cups recommends:
ii  avahi-daemon                                        0.6.31-1
ii  colord                                              0.1.16-2
ii  foomatic-filters                                    4.0.13-1
ii  ghostscript-cups                                    9.05~dfsg-3
ii  printer-driver-gutenprint [cups-driver-gutenprint]  5.2.7-5

Versions of packages cups suggests:
ii  cups-bsd     1.5.2-8
ii  cups-pdf     <none>
ii  foomatic-db  20120212-1
ii  hplip        3.12.2-1
ii  smbclient    2:3.6.3-1
ii  udev         175-3.1

-- debconf information excluded



--- End Message ---
--- Begin Message ---
On Sun 18 Mar 2012 at 19:24:43 +0100, Witold Baryluk wrote:

> There is similar problem repoerted, but do not know how releated.
> 
> On my CUPS server (Pentium 3 700MHz, with 512MB of RAM),
> any documents (like pdf, odf, web page in epiphany or firefox),
> takes like 5 minutes to print first page. On CUPS server a 'gs'
> process is taking 100% CPU and always about 200-213MB of RAM.
> 
> root@romeo:~# ps aux | grep gs
> lp       12364  0.0  0.2   4560  1072 ?        S    19:17   0:00 /bin/bash -c
> gs -q -sstdout=%stderr -sDEVICE=ps2write -sOutputFile=- -dBATCH -dNOPAUSE
> -dPARANOIDSAFER -dNOINTERPOLATE /var/spool/cups/tmp/foomatic-H1Rke7 2>/dev/null
> || PATH=${PATH#*/cups/filter:} pdftops -level2 -origpagesizes
> /var/spool/cups/tmp/foomatic-H1Rke7 - 2>/dev/null
> lp       12365 98.9 40.6 220260 208516 ?       R    19:17   4:05 gs -q
> -sstdout=%stderr -sDEVICE=ps2write -sOutputFile=- -dBATCH -dNOPAUSE
> -dPARANOIDSAFER -dNOINTERPOLATE /var/spool/cups/tmp/foomatic-H1Rke7
> #
> 
> First page takes 5 minutes, but each next page from same pdf
> documents take like 15 seconds.
> 
> It is really annoying, to wait 1 hour to print 10 pages!

This report was filed against a version of cups-filters/cups which is no
longer supported. There have been quite a number of significant changes
in both packages since then and it is quite possible the issue was fixed
by one or more of them. Testing with the present testing/stable would be
advisable. Note that one aspect of the filtering which can be altered is
the renderer. Please submit a new report if the problem remains.

Cheers,

-- 
Brian.

--- End Message ---

Reply to: