Public bug reported: After upgrading to Ubuntu 9.04, I've looking all over for a bug causing my network to sporadically hang. I've finally tracked it down the the 2.9 version included in jaunty. After upgrading to libc6 2.10.1, performance has significantly improved to be as good as, or better than it was in previous Ubuntu releases.
The problem appears while browsing in firefox. All connections will hang for 15 to maybe 60 seconds, and frequently the status bar reports "Looking up xyz...". While that is happening, I can see a ping command I'm a terminal window hang and begin to lose packets, a "host xyz" command will hang and possibly timeout, and any other network connections hang. As soon as firefox either times out or resolves the address, everything returns to life, remote connections show any output, and the ping resumes. Not having the time to look through the name resolution code, my guess is that the DNS requests are locking the entire network stack. And with the fixes to DNS lookups in the latest libc6, the problem was either resolved or isn't noticeable anymore. Attempts to resolve this issue included turning off security settings in firefox (edit -> preferences -> security -> uncheck the "tell me if the site I'm visiting..." boxes), upgrading to linux kernel 2.6.31 and adding "ipv6.disable=1" to the /boot/grub/menu.lst entry for this kernel, updating nsswitch.conf with the line "hosts: files dns", and stopping the avahi-daemon. I'd recommend the latest libc6 be considered for the current stable version of Ubuntu, or at least leaving the bug report open for those trying to resolve the same issue. # lsb_release -rd Description: Ubuntu 9.04 Release: 9.04 # apt-cache policy libc6 libc6: Installed: 2.10.1-0ubuntu8 Candidate: 2.10.1-0ubuntu8 Version table: *** 2.10.1-0ubuntu8 0 100 /var/lib/dpkg/status 2.9-4ubuntu6 0 500 http://us.archive.ubuntu.com jaunty/main Packages ** Affects: glibc (Ubuntu) Importance: Undecided Status: New -- DNS lookups hang network in 2.9-4ubuntu6 https://bugs.launchpad.net/bugs/422016 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs