Solution for web pages stop loading in the middle

After upgrade my Linux box to Fedora 7, I found that some web pages will stop loading in the middle. This renders a page only with header or even an empty page. With Wireshark, I can see only one package returned by the server, the rests are lost.

At first, I suspected this is a MTU problem, but with no luck after trying hundreds MTU settings. Finally, I remembered some notes I have took before about Linux’s TCP fix, and it did the magic.

Here is the settings in /etc/sysctl.conf

net.ipv4.tcp_moderate_rcvbuf = 0
net.ipv4.tcp_window_scaling = 0

Also, it is not a bad idea to turn off ipv6 support, add a file includes following to /etc/modproble.d/

alias net-pf-10 off
alias ipv6 off
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
Share

Leave a Reply