|
Bugzilla – Full Text Bug Listing |
| Summary: | Web browsers are taking too much time to load pages, (DNS or /usr/sbin/nscd problem) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | Rafael Belmonte <EagleScreen> |
| Component: | Basesystem | Assignee: | Petr Baudis <pbaudis> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | bitdealer, wolfgang |
| Version: | RC 1 | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | openSUSE 11.2 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
Time measures for OpenSuse and Kubuntu loading a web page.
trace of wget reproducing the problem trace of wget when the problem is not reproducible. |
||
That's cause of the changed DNS handling since glibc 2.10 (see also bug 530440 ) but normally adding "options single-request" shouldn't be necessary cause nscd should work around it but apparently that "doesn't work". (He said on IRC that nscd is running: "nobody 1287 0.0 0.0 1800 428 ? Ss 15:46 0:00 /usr/sbin/nscd") Can you reproduce your problem with simple ping command? In that case, can you post strace of the ping command? Is there something interesting being logged by nscd? Thanks! Sorry, I cannot reproduce it with ping command. Intriguing. What about wget? wget http://en.opensuse.org/ or such... I can reproduce it with wget, but please could you give some steps to obtain a trace with wget? Created attachment 322988 [details]
trace of wget reproducing the problem
Created attachment 322989 [details]
trace of wget when the problem is not reproducible.
I have attached two traces, one when "options single-request" is enabled and the problem is not reproducible, and other when it is disabled and the problem is reproducible.
Thank you very much for the report, we got a parallel bug-report with more details so I'm marking this one a dupe. *** This bug has been marked as a duplicate of bug 549447 *** |
Created attachment 322897 [details] Time measures for OpenSuse and Kubuntu loading a web page. User-Agent: Mozilla/5.0 (X11; U; Linux; es-ES) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.10.1 I saw that web browsers: Firefox, Arora and Rekonq was taking too much time to load web pages. I am talking about these averanges to load www.youtube.com in OpenSuse 11.2 RC1: 21.23 seconds for Firefox. 47.87 seconds for Arora. 31.30 seconds for Rekonq. While I saw that in Kubuntu 9.10 beta, for the same machine these were the averange measures to load www.youtube.com: 1.95 seconds for Firefox. 4.23 seconds for Arora. 4.24 seconds for Rekonq. It is evident that there is a speed problem in OpenSuse 11.2 RC1. I was investigating and I discovered that adding this line: "options single-request" to /etc/resolv.conf fixed the problem, after it OpenSuse is as fast as Kubuntu loading web pages, therefor, I deduce there is a DNS problem, /usr/sbin/nscd may not be doing its work propertly. My Internet conection is a cable-modem to ethernet port, by DHCP, DNS servers are obtained also by DHCP. Reproducible: Always Steps to Reproduce: 1. Install OpenSuse 11.2 RC1 2. Open a Web browser 3. See that it is very slow loading web pages. Actual Results: Web Browsing is very slow, unless I add "options single-request" line to /etc/resolv.conf". Expected Results: Web browsing should be faster by default, adding "options single-request" to /etc/resolv.conf shouldn't be necessary, I think /usr/sbin/nscd should work on this.