[Pkg-cups-devel] Bug#664538: cups: Printing is very slow (100% CPU usage by gs)

Brian Potkin claremont102 at gmail.com
Sun Aug 26 15:07:16 UTC 2012


reassign 664538 cups-filters
thanks



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

> 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 at 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.

Bring your installation up-to-date and read the README in the cups-filters
package. The changes in the use of pdftops filter might be of help.

Regards,

Brian.



More information about the Pkg-cups-devel mailing list