High CPU consumption
Michael Sweet
mike at easysw.com
Tue Jan 2 10:56:31 PST 2007
angelb wrote:
> CUPS process consume high CPU time when it tries to print a file which
> contains control characters:
>
> ROOT @ SAPDI11F # ps -ef|grep -i cups
> root 512088 1 33 Nov 28 - 2348:37 /opt/TWWfsw/cups124/sbin/cu
> psd -c /etc/opt/TWWfsw/cups124/cupsd.conf
> root 1380522 512088 3 21:08:24 - 0:00 ipp://stldv504:631/printers/sl74 4 smdadm spfileSMD.ora 1 job-sheets=none,none job-pr
> iority=50 job-uuid=urn:uuid:748593d5-8c43-3fdd-6dc4-5d80b6b1e550 job-hold-until=
>
> I [26/Dec/2006:21:08:15 +0600] Started backend /opt/TWWfsw/cups124/lib/backend/i
> pp (PID 475194) for job 4.
> E [26/Dec/2006:21:08:15 +0600] PID 528536 (/opt/TWWfsw/cups124/lib/backend/ipp)
> stopped with status 1!
> I [26/Dec/2006:21:08:15 +0600] Hint: Try setting the LogLevel to "debug" to find
> out more.
> E [26/Dec/2006:21:08:15 +0600] [Job 3] Print file was not accepted (Unsupported
> format 'application/octet-stream'!)!
> I [26/Dec/2006:21:08:15 +0600] [Job 3] Backend returned status 1 (failed)
>
> You can duplicate this by vi'ing a file; vi /tmp/foo, and insert the
> control character of your choice.
>
> I had to stop cupsd, removed the file from spool, and then restart
> cupsd to release it from using high CPU.
>
> I'm not sure if this issue is already resolved in later fix release
> but I'd like to mention it just in case. I'm running CUPS 1.2.4-1.
I *think* this is a known bug that was fixed in a later patch release
(caused by problems in cupsdStatBufUpdate() on some platforms IIRC)
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups
mailing list