Ubuntu 11.04 :Firefox 4 Slow Issues

Apart from the new Unity Interface in  Ubuntu 11.04 , another  problem users might be facing might be in case of browsing ,i.e  the default browser Firefox 4 is not going well or slow and sluggish in Ubuntu 11.04.This specific problem persists for several users using the latest Ubuntu , and in many Ubuntu supporting forums , quests are referred on this issues many are preferring latest Google chrome over Firefox.

Look at the below quest asked by some Ubuntu user in one of Ubuntu forums [http://ubuntuforums.org/showthread.php?t=1770414]

“I don’t know if others are experiencing this but browsing is extremely slow in Firefox after “upgrading” to ubuntu 11.04. I have not tried other browsers. Even checking for updates fails several times.I had to re-boot to windows to post this thread and now it’s working fine. It’s been 3 days since upgrading and I’ve observed many times that there’s no such problem in windows while I have to wait like 4-5 minutes and refresh many times to open a single page. Some sites like google are quicker though. I use Firefox 4.0 both in ubuntu and windows. I didn’t have this problem in 10.10 and it took me about 5 hrs. to download 1 GB upgrade packages.Strangely torrents are working well in ubuntu.”

Now most users facing the FF problem are leaning towards Chrome .And to an extend Chrome new JavaScript rendering is pretty much fast as reported by WebStats.The Instant Web page Load[rendering web pages fast as you type in URL bar/omni box] and instant search support have trending users to prefer Chrome.More many extensions are avail in chrome too.

Installing Chrome in Ubuntu 11.04
It’s as you know Pretty easy , just Go to its official website and download the Debian Package. is the latest one.[http://www.google.com/chrome/].Download the Google Chrome for Ubuntu 11.04.Open the saved file with Ubuntu Software Center (Right Click on the Package, then select Open With USC; click on install Button to proceed) .Now Some might face problems on installing Chrome from Software Center.So prefer the Terminal instead.Go to Terminal & Use the dpkg command to install the package. To install from the command line, type the command given below and enter your login password to proceed.

sudo dpkg -i google-chrome-stable_current_i386.deb.     Note that downloaded package must be in the specific directory where using Terminal.Enjoy surfing with Chrome.

Solution to Slow browsing on Firefox 4 in Ubuntu 11.04
Now what one Ubuntu Support forums says that Firefox 4 in Ubuntu 11.04 is slow mainly due to “IPv6 is enabled by default” in the latest version.To an extend this might be a reason in Slow browsing[.[Although bandwidth issue also matters]].When you type any URL in the Firefox browser on the Ubuntu Linux operating system, it takes few seconds for Firefox to resolve the DNS and then the actual website is loaded. This means that every time you try to access the site there is a brief delay.[ for eg: try below commands & notice the delay]
time dig ipv4.google.com A
time dig ipv6.google.com AAAA

The IPv6 protocol was designed to replace IPv4, however most ISP’s are still not using IPv6 protocol. The Firefox browser in Ubuntu will first try the IPv6 protocol and when it fails the IPv4 protocol is used, hence the delay and slow browsing experience.Even Firefox Mozilla Support demands this.To disable IPv6 specifically for Firefox, visit about:config[thpe in url bar ], filter on something like “dns” or “v6”, and change network.dns.disableIPv6 to “true” (right-click and pick “toggle”).
Now if this doesn’t solve the issue on slow speed ,the best option is to disable IPv6 in the Ubuntu System itself.The process is really simple. Load the terminal and copy and paste this line into the terminal.
gksudo gedit /etc/modprobe.d/aliases
Then when you see the edit screen add the following at the end of the file. In case the file is empty no problem just add the lines.
alias net-pf-10 ipv6 off
alias net-pf-10 off
alias ipv6 off
Once done save the file and reboot the system.Note: Disabling the IPV6 must prevent you on visiting IPV6 enabled websites.

Alternative /easy way for disabling IPv6 in Ubuntu

Click on your network icon (ethernet double arrow or wifi fan) and pick “connection information”. If the active connections don’t say IPv6 ignored” click again, pick “edit connections …”, select the ethernet (“auto eth0”) or wifi (wlan0) connection you are using, and push the “edit” button. The rightmost tab will be IPv6, set the dropdown to “Ignore”.


If any of the above tips doesn’t solve the problem try this solutions.

  1. Changing DNS server to an Open DNS Server.They are plenty of free and fast DNS servers around. For example Google’s and or OpenDNS’s and These servers respond correctly to valid ipv4+6 requests.
  2. Another solution is to make the glibc resolver send the two requests sequentially instead of in parallel. To do that, add options single-request or single-request-reopen in /etc/resolv.conf

Note: Try on your own risk, any bug or did we miss any , pls comment


About Technology Timely

Aimed on updated tech news

Posted on June 21, 2011, in Firefox, Google, Linux, Tips'n'Tricks. Bookmark the permalink. 4 Comments.

  1. I have tried the same .still unable to solve the problem

  2. Having IPv6 enabled by default is nothing new. Even 9.10 has IPv6 enabled by default, and it works just fine even on networks that do not have IPv6 support.

    There have been a number of ways a misconfigured network could slow down browsing on machines with IPv6 enabled. But browsers are supposedly getting better at detecting and working around such situations.

    Of course it cannot be ruled out that new bugs have been introduced that manifest themselves on certain networks. But having IPv6 enabled by default is not the problem, and disabling IPv6 is not the solution, rather it is a short sighted workaround.

    I guess there is no way around firing up a packet sniffer like tcpdump or wireshark to debug an issue like this. And the dumps need to be performed with a combination of software and network configuration that exhibits the problem in order to find out what is actually going wrong.

    Are the DNS lookups slow as well? Some buggy DNS servers have had problems with domains with both IPv4 and IPv6. If it can be confirmed that the problem is with the DNS lookups, then that may reduce the time to track down the root cause.

    • Thanks for commenting .Definitely disabling IPv6 is not the solution & certainly it is a short sighted workaround.[i,e why we said “to an extend”],since ipV6 is future too.
      Most users are facing similar issues as per Ubuntu forum,For DNS lookups we think there might be also further 2 solutions
      either use an open DNS SERver
      2nd by disabling DNS client lookups[like in windows] and there by allowing Browser itself?[[doubts if it can be done inLinux?]
      visit tis link too http://ubuntuforums.org/showthread.php?t=1679737

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: