Bug 583054
Summary: | Any interaction with CUPS server takes over minute | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jiri Popelka <jpopelka> | |
Component: | cups | Assignee: | Tim Waugh <twaugh> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | medium | Docs Contact: | ||
Priority: | low | |||
Version: | 12 | CC: | jpopelka, owlbrudder, twaugh | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | i686 | |||
OS: | Linux | |||
Whiteboard: | abrt_hash:9015b701 | |||
Fixed In Version: | cups-1.4.4-9.fc12 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 579957 | |||
: | 590632 (view as bug list) | Environment: | ||
Last Closed: | 2010-09-24 20:43:39 UTC | Type: | --- | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 579957 | |||
Bug Blocks: | 590632 |
Description
Jiri Popelka
2010-04-16 14:40:24 UTC
This is what's causing the delay, at a guess: 'D [10/Apr/2010:09:00:20 +1000] cupsdNetIFUpdate: "lo" = localhost:631', 'D [10/Apr/2010:09:00:37 +1000] cupsdNetIFUpdate: "eth0" = 192.168.0.199:631', 'D [10/Apr/2010:09:00:54 +1000] cupsdNetIFUpdate: "virbr0" = 192.168.122.1:631', 'D [10/Apr/2010:09:00:54 +1000] cupsdNetIFUpdate: "lo" = localhost:631', 'D [10/Apr/2010:09:01:11 +1000] cupsdNetIFUpdate: "eth0" = fe80::20a:48ff:fe07:499d%eth0:631', Perhaps you have a nameserver configured that is not reachable? Try setting "HostNameLookups off" in /etc/cups/cupsd.conf and see if that makes a difference. (In reply to comment #1) > This is what's causing the delay, at a guess: > > 'D [10/Apr/2010:09:00:20 +1000] cupsdNetIFUpdate: "lo" = localhost:631', > 'D [10/Apr/2010:09:00:37 +1000] cupsdNetIFUpdate: "eth0" = 192.168.0.199:631', > 'D [10/Apr/2010:09:00:54 +1000] cupsdNetIFUpdate: "virbr0" = > 192.168.122.1:631', > 'D [10/Apr/2010:09:00:54 +1000] cupsdNetIFUpdate: "lo" = localhost:631', > 'D [10/Apr/2010:09:01:11 +1000] cupsdNetIFUpdate: "eth0" = > fe80::20a:48ff:fe07:499d%eth0:631', > > Perhaps you have a nameserver configured that is not reachable? > > Try setting "HostNameLookups off" in /etc/cups/cupsd.conf and see if that makes > a difference. Tim, thanks for the quick response. I don't know that my answers are going to be helful. In summary, setting "HostNameLookups off" in /etc/cups/cupsd.conf made no obvious difference and my nameservers seem to be working OK. Details are as follows: I set "HostNameLookups off" in the cupsd.conf on both the print server (old IBM T23 notebook) and the client (T61 notebook), using the Cups tool on port 631. The service was restarted automatically on both machines. I checked that ping and ssh were working normally using named hosts, to ensure I had no general DNS issue. All machines on my LAN have hosts files containing details of all the other machines on the LAN and my (limited) understanding is that this takes precedence over DNS lookups. On the server, it takes 3 seconds for system-config-printer to display the printer properties. From there, it takes 5 seconds from 'Print test page' before the printer starts printing. (When this machine is booted into WinXP, the equivalent actions are as good as immediate). From the networked notebook, it takes 30 seconds for system-config-printer to display printer properties and the 'Print test page' delay is 55 seconds. From the networked notebook, printing a test page of lorum ipsem from Open Office took the following times: From click on Print until printer dialog appears: 4 sec From click on OK until remote printer commences:1 min 45 sec During print, two delays of 10 sec and 45 sec respectively. All these results were duplicated within a small margin of error after I used system-config-network to swap the priority of the two DNS I have recorded, so I am guessing that my general DNS setup is not at fault. I am not running my own DNS, as I believe that fully qualified entries in my hosts files are sufficient for my small LAN - is that correct? I will be happy to run any further tests and do anything I can to help. I can only reiterate that exactly the same hardware and network configuration worked fine under FC10. Cheers, Doug There was a changed committed upstream relating to this recently. Please try cups-1.4.3-5.fc12 which incorporates it: http://koji.fedoraproject.org/koji/buildinfo?buildID=171926 Download each package you require, then run: su -c 'yum update --nogpgcheck cups*1.4.3-5*.rpm' Does that fix it? (In reply to comment #3) > There was a changed committed upstream relating to this recently. Please try > cups-1.4.3-5.fc12 which incorporates it: > > http://koji.fedoraproject.org/koji/buildinfo?buildID=171926 > > Download each package you require, then run: > > su -c 'yum update --nogpgcheck cups*1.4.3-5*.rpm' > > Does that fix it? Tim, that plus an idea I got from another thread fixed it. Installing the new version cut the initial delay when printing down to +/-35 seconds. Editing /etc/hosts on the server, to add a line for the server itself at its real IP address (ie on server dennis I added a line of the form '192.168.0.150 dennis dennis.farm.home') cut the initial delay down to less than 5 seconds. I installed the new version on both client and server, but updated /etc/hosts on the server only. I don't know why that line makes a difference - I have never needed it before! Go figure. As far as I am concerned, the problem is fixed. Thanks very much for your efforts. Cheers, Doug. Ooops - forgot the clear the needinfo flag - hope this does it. Great, thanks for testing. cups-1.4.4-10.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/cups-1.4.4-10.fc13 cups-1.4.4-9.fc12 has been submitted as an update for Fedora 12. https://admin.fedoraproject.org/updates/cups-1.4.4-9.fc12 cups-1.4.4-10.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update cups'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/cups-1.4.4-10.fc13 cups-1.4.4-10.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. cups-1.4.4-9.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |