Bug#682426: cups: filter gs takes several minutes consuming 100 % of CPU
- To: Paul Menzel <pm.debian@googlemail.com>
- Cc: Till Kamppeter <till.kamppeter@gmail.com>, 682426@bugs.debian.org, debian-printing@lists.debian.org, Bastien ROUCARIES <roucaries.bastien@gmail.com>, Tim <tim101fc@googlemail.com>, Witold Baryluk <baryluk@smp.if.uj.edu.pl>, Vladimir K <pzs-fs@yandex.ru>, Pavel Yakunin <pyakunin@gmail.com>, BrianPotkin <claremont102@gmail.com>
- Subject: Bug#682426: cups: filter gs takes several minutes consuming 100 % of CPU
- From: "Didier 'OdyX' Raboud" <odyx@debian.org>
- Date: Mon, 22 Oct 2012 18:22:56 +0200
- Message-id: <201210221822.56597.odyx@debian.org>
- Reply-to: "Didier 'OdyX' Raboud" <odyx@debian.org>, 682426@bugs.debian.org
- In-reply-to: <1350913879.19524.13.camel@mattotaupa>
- References: <500EF7F6.1@gmail.com> <201208031302.54029.odyx@debian.org> <1350913879.19524.13.camel@mattotaupa>
Le lundi, 22 octobre 2012 15.51:19, Paul Menzel a écrit :
> Didier, thank you for following up on the report. Today I hit this
> problem again – unfortunately when being in a hurry. It looks like on a
> new installed system, CUPS is not affected as it does not use the gs
> filter by default anymore(?).
Well, CUPS now supposedly uses the "PDF" workflow and avoids converting PDF's
to PS'es when unnecessary. Till will correct me if I'm wrong. :)
> Additionally bug #664538 [2] seems to deal with the same problem. Brian
> kindly followed up, mentioning too that it has to do with the gs filter
> in cups-filters and that pdftops might work.
Well, the pdftops filter calls gs in Wheezy, as far as I can see.
> Anyway, I am able to reproduce this problem with `pdf2ps` from the
> package ghostscript. The attached PDF file is created by printing the
> HTML page to a PDF file. Running `pdf2ps` on this file exhibits this
> problem on my system.
From an up-to-date Wheezy, /usr/bin/pdf2ps takes a long time of 100% CPU, but
succeeds in creating a 3.6 M PS file out of this small PDF.
Cheers,
OdyX
Reply to: