On 12/14/2009 13:06, Stephen Green wrote: > On 12/14/09 01:03 PM, Norm Jacobs wrote: >> That seems odd to me. I am not seeing (and haven't seen) any delays like >> you are reporting. You might try turning up the logging >> $ pfexec cupsctl LogLevel=debug2 >> and taking a look at the error log (/var/log/cups/error_log). It will >> give you some idea of what's going on and when. > > Done, then I printed a three page PDF. Of course, now it's working fine! > > I'll leave the debug on and bang on it a bit more tonight. > > >> There are a bunch of >> things that could affect performance. Is you system resource starved? >> Are you using and nameservers (NIS, DNS, ...) that it may be having >> trouble contacting?
I'm back at this, now that Christmas is over and I really think this is a DNS problem. I've upgraded to build 130, and printing is working from the local machine and very slowly from my wife's Mac. In the logs, when using the CUPS Web interface from another machine, I'm seeing things like: -- D [03/Jan/2010:09:40:52 +0500] cupsdAcceptClient: 18 from 192.168.0.185:631 (IPv4) d [03/Jan/2010:09:41:20 +0500] cupsdAddSelect(fd=18, read_cb=80628d4, write_cb=0, data=812f980) -- D [03/Jan/2010:09:41:20 +0500] cupsdAcceptClient: 14 from 192.168.0.185:631 (IPv4) d [03/Jan/2010:09:41:48 +0500] cupsdAddSelect(fd=14, read_cb=80628d4, write_cb=0, data=8120680) where there's a 28 second (it's always 28 seconds) after the cupsdAcceptClient log message until the addSelect. This looks like it's trying to do a reverse lookup on the IP address and it's timing out (although that's not logged). That IP address is in the hosts file, nsswitch.conf has: hosts: files dns mdns and getent 192.168.0.185 hosts returns the associated hostname very quickly, so I'm not sure what the resolution issue would be. During these times, trussing the process makes it look like it's doing a door_call on the name_service_door. Oh, and in cupsd.conf I have: HostNameLookups No Any help would be greatly appreciated. The wife is not too happy about not being able to print from her Mac... Steve
