cupsd takes longer to process request

Michael Sweet mike at easysw.com
Thu May 10 07:52:02 PDT 2007


angelb wrote:
> Hello all.
> 
> Last night, we converted another production host into using CUPS. The
> application initialy uses the OS(AIX) qprt command to print jobs. After
> the conversion, we noticed some difference in cups processing requests.
> 
> Using the qprt command, the application's submit time to the qdaemon is
> zero second while the submit time to cupsd using lpr takes additional
> 4-seconds to complete. See the following before and after effect:
> ...
> Does anyone know why this is? Is there any setting I need to make in
> cups to decrease the time it takes to process incoming print request?

It's a little hard to say with the info you've provided.  In general,
printing via IPP *does* require longer (there is an actual protocol
involved, network connections, etc.) than a straight disk spooling,
but normally the overhead is on the order of a few hundred
milliseconds (even on my old 233MHz AIX box).

Some things to check:

     1. Make sure HostNameLookups is off in cupsd.conf
     2. Make sure localhost is defined in /etc/hosts (and points
        to 127.0.0.1)
     3. Make sure you are queuing to localhost and not to a remote
        server

-- 
______________________________________________________________________
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