cupsd takes longer to process request

angelb angelb at bugarin.us
Thu May 10 08:00:03 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
>

That makes perfect sense with the spooling. I've also checked the 3
things and all is set correctly.

Thanks for the feedback.

Angel




More information about the cups mailing list