[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Further testing ... I attached Lab01.pdf above. Steps followed .. da...@thich:~$ cupsctl LogLevel=debug da...@thich:~$ cupsctl LogDebugHistory=99 da...@thich:~$ sudo /etc/init.d/cups restart * Restarting Common Unix Printing System: cupsd [ OK ] da...@thich:~$ evince /media/sda3/home/david/Desktop/Lab01.pdf (Printed document to Samsung CLP-300) da...@thich:~$ ps auxwww | grep 2407 lp2407 13.3 1.5 43904 31220 ?S18:48 0:06 gs -q -dBATCH -dSAFER -dQUIET -dNOPAUSE -sPAPERSIZE=a4 -g9920x14032 -r1200x1200 -sDEVICE=pbmraw -dCOLORSCREEN -dMaxBitmap=5 -sOutputFile=|cat 13 -_ da...@thich:~$ sudo cp /var/log/cups/error_log . da...@thich:~$ sudo chmod 777 error_log /var/log/cups/error_log is attached. ** Attachment added: /var/log/cups/error_log http://launchpadlibrarian.net/38656570/error_log -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
By testing with a similar driver (foo2zjs on the HP LaserJet 1020) I could see how the problem got caused. The driver requires incoming PDF being converted to PostScript and instead of using the desired call of Poppler's pdftops it used an awkward Ghostscript call which is only supported as a fallback. I have fixed this in the upstream BZR repository of foomatic-filters now. I will tell when the package for Lucid is ready and ask you to test a Lucid live CD again then. In general the following classes of printers are covered by this fix: All printers with Foomatic/foo2... drivers, all printers with Foomatic/Postscript drivers, PostScript printers from Ricoh and OEM. For printers using Foomatic/pxl drivers you can already test a Lucid live CD now, as Lucid's Ghostscript has a possible fix for these printers. ** Package changed: ghostscript (Ubuntu) = foomatic-filters (Ubuntu) ** Changed in: foomatic-filters (Ubuntu) Importance: Undecided = Medium ** Changed in: foomatic-filters (Ubuntu) Status: Incomplete = In Progress ** Changed in: foomatic-filters (Ubuntu) Assignee: (unassigned) = Till Kamppeter (till-kamppeter) -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Also some proprietary (manufacturer-supplied) drivers using foomatic-rip can have this problem and the fix in foomatic-filters will solve it. ** Also affects: foomatic-filters (Ubuntu Karmic) Importance: Undecided Status: New ** Changed in: foomatic-filters (Ubuntu Karmic) Importance: Undecided = Medium -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
** Changed in: foomatic-filters (Ubuntu) Status: In Progress = Fix Committed -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
This bug was fixed in the package foomatic-filters - 4.0.3-0ubuntu3 --- foomatic-filters (4.0.3-0ubuntu3) lucid; urgency=low * debian/patches/10_foomatic-rip-use-poppler-pdftops-with-cups.patch: CUPS manipulates $PATH when calling filters and this makes foomatic-rip calling CUPS' pdftops instead of Poppler's pdftops. This fails and so always the awkward Ghostscript/pswrite fallback is used, producing huge temporary PostScript files which the following process (driver or PostScript printer) renders very slowly or does not render at all due to excessive memory usage (LP: #463059). -- Till Kamppeter till.kamppe...@gmail.com Tue, 2 Feb 2010 13:14:17 +0100 ** Changed in: foomatic-filters (Ubuntu) Status: Fix Committed = Fix Released -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Everyone who wants to test the fixed foomatic-filters in Lucid, please test with the next daily live CD or update your Lucid as soon as the fixed foomatic-filters package mentioned above hits the mirrors. -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Uploaded SRU for Karmic to -proposed, package is waiting for appreoval. debdiff of the changes is attached. ** Patch added: debdiff with the foomatic-filters fix for Karmic http://launchpadlibrarian.net/38663178/foomatic-filters_4.0.3-0ubuntu2_4.0.3-0ubuntu2.1.debdiff ** Changed in: foomatic-filters (Ubuntu Karmic) Status: New = Fix Committed -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Everyone who has this problem please, I need the following information: 1. The file you tried to print. If you did not supply it yet, please attach it to the bug report. If the problem occurs for you directly after boot, please you have a file from the last session still in the print queue. You can find all stuck files in the print spool directory: mkdir spoolfiles sudo cp /var/spool/cups/d* spoolfiles/ sudo chmod 777 spoolfiles/* Attach these files to this bug report. 2. How did you print? Which application did you use, which settings? 3. What is your printer/driver? Please attach the PPD file from /etc/cups/ppd/. 4. What is the Ghostscript command line. As sson as Ghostscript is running crazy, run the shell command top to see the offending gs process and note its process number. Then leave top with q and get the full Ghostscript command line via the shell command ps auxwww | grep process number Post the Ghostscript command line here. 5. Get an error_log in debug mode as described on https://wiki.ubuntu.com/DebuggingPrintingProblems in the CUPS error_log section. CUPS must be in debug mode while the offending job takes place. So clean up cancel -a sudo killall -9 gs set CUPS into debug mode and print the offending file again. As soon as the problem occurs, attach error_log and do also the steps 1-4. -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Till, thanks for that. I have downloaded the Lucid Alpha nightly desktop ISO build from Jan 28th and installed it. (This has taken a while because this is unstable on my PC - the graphical session keeps hanging) I printed out the attached PDF to a Samsung CLP-300 (using monochrome, double-sided printing) and timed the process until page 1 3 have been printed. At this time the CPU drops, and the printer is ready for pages 2 4. Karmic (fully patched) - 2 minutes, 45 seconds Lucid (Alpha - 28th Jan nightly build) - 3 minutes That is, the problem is not fixed in Lucid for me. ** Attachment added: PDF file for testing http://launchpadlibrarian.net/38542617/Lab01.pdf -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Everyone who is using the pxlmono or pxlcolor driver of Ghostscript (PCL-XL/PCL-6 drivers), please try a live CD of Lucid as to these drivers several fixes were applied recently. Please tell whether the fixed Ghostscript in Lucid solves the problem. -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Same issue with me, sending a pdf or ps to a printer on a headless server. * Problem also occurs if scp'ing files and printing locally (i.e. lpr filename.pdf) - when leaving it (10 mins for a 3-page pdf on a 700MHz processor, it eventually came out). * Print queue is empty Till Kamppeter: Is it possible to rollback to an earlier version of that driver to test? -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
I'm not even printing anything. I just turned the computer on, and had a processor at 100%. Ubuntu 9.10, fresh install, 32-bit. -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Super_merlin - Check your print queues - there is a good chance you have an old .PDF job in a print queue from a previous session. -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
same problem, my system: Ubuntu 9.10 (KK) 64 bits, fresh installation. Printer HP Deskjet D2460 Eons to print a PDF Thanks in advance David -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Affects me as well, printing a PDF takes for ages, often more then 20 minutes, at times it seems hours (i print another way, say, give the pdf to a friend, and sometime in the afternoon my document get's printed) ... one core of the cpu get's totally hogged printer is a network printer, lexmark X342n, cups config: MakeModel Lexmark X342n Foomatic/pxlmono (recommended) DeviceURI lpd://192.168.0.155/PASSTHRU State Idle StateTime 1260521511 Type 8400916 Filter application/vnd.cups-raw 0 - Filter application/vnd.cups-postscript 100 foomatic-rip Filter application/vnd.cups-pdf 0 foomatic-rip Filter application/vnd.apple-pdf 25 foomatic-rip Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy retry-job -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
forgot to mention, ubuntu 9.10, fresh install -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
In the last days the pxlmono driver in Ghostscript (the one which you are using) got vastly improved. I have applied the appropriate patches to the Ghostscript of Lucid. Please try a live CD of Lucid Alpha 1. Does printing go faster with it? ** Changed in: ghostscript (Ubuntu) Status: New = Incomplete -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
ubuntu 9.10 - 64 bit - Same problem when trying to print PDF on a network Canon printer, -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
I have Ubuntu 9.10 freshly installed, yet i have the problem of gs and pdftotext taking up huge amount of CPU while downloading a bunch of pdf files using Transmission torrent client. -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
i have installed fresh 9.10 but the problem seem to me. CPU 2.10 ghz. 2048 mb ram. -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
Same problem my PC - single core Pentium 4 flat-lining until I kill the gs process. lp2376 19.0 42.6 479544 438124 ? R10:46 0:06 gs -q -sstdout=%stderr -sDEVICE=pswrite -sOutputFile=- -dBATCH -dNOPAUSE -dPARANOIDSAFER /var/spool/cups/tmp/foomatic-HHY4yi Printer is CLP-300 connected to USB port (not turned on at as I write) $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 9.10 Release:9.10 Codename: karmic (upgraded from Jaunty) -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
I have found out that the gs process was flat-lining the CPU because there were a number of PDF jobs in the print queue. These PDFs are converted Powerpoint slides and seem to be printed very inefficiently. One PDF has 6 pages - each page displays 6 ppt slides - ie. the PDF has been created from a PPT that has 31-36 slides. It took 12 minutes to print these 6 pages. The CPU is 1.6 Ghz single-core Pentium4. This is similar situation to Thorsten above - he is also printing .PDF files. -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
The problem seems to be connected to the upgrade of Ubuntu 9.04 to Ubuntu 9.10. The process gs behaves on my computers completely normal if Ubuntu 9.10 is fresh installed. So the problem does not anymore occur on my computers. -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 463059] Re: Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart
This kind of problem also occurred on two of my PCs. Both are connected to a Brother 2140 using a Raw-Socket. The problem is the following: When I start to print a pdf (400kB) using evince the CPU usage of gs goes to 100% on one core and when the usage is reduced my memory will be blown up (physical and swap used to max). The PDF is attached. ** Attachment added: Test PDF http://launchpadlibrarian.net/34954263/MA_2_OE_m_.pdf -- Process 'gs' begins taking 100% CPU and loading up vast amounts of RAM on CUPS restart https://bugs.launchpad.net/bugs/463059 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs