Bug 126626
Summary: | network connection problem with 2.6.7-1.441 and up | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gary Peck <gbpeck> | ||||||
Component: | kernel | Assignee: | Dave Jones <davej> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | gohkl, pfrields, p.van.egdom, reuben-redhatbugzilla, twaugh, zuirdj | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i686 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-10-06 00:01:43 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: | |||||||||
Attachments: |
|
Description
Gary Peck
2004-06-23 22:03:01 UTC
Created attachment 101364 [details]
tcpdump of successfull connection with kernel-2.6.6-1.427
Created attachment 101365 [details]
tcpdump of unsuccessfull connection with kernel-2.6.7-1.441
Looking at a diff between the two tcpdumps, the only meaningful differences are: - In the first (SYN) packet, kernel 1.427 sets a window scale of 0, whereas kernel 1.441 sets a window scale of 7. - In the ACK and following HTTP GET from my computer, kernel 1.427 sets a window size of 5840, whereas kernel 1.441 sets a window size of 45. My TCP/IP knowledge is pretty rusty, so I'm not sure if either of those are meaningful, but I thought I'd throw it in. Look at this cset which was committed to the kernel recently: http://www.kernel.org/pub/linux/kernel/v2.5/testing/cset/cset- davem.net|ChangeSet|20040616043521|55919.txt It's probably easier to do this by hand by simply resetting the values in /proc/sys/net/ipv4/*.. See if that makes a difference. I think it will...temporary workaround may be to edit /etc/sysctl.conf and set the value in there. I too am having problems with the window scale set to 7, Dave Miller believes it is a bug with the Cisco IOS Firewall inspection that I have in front of my network. Are you using one of these devices also? I'll try out tweaking the values in /proc/sys/net/ipv4/ next time I reboot. I'm not using a Cisco device. The computer experiencing the problem is behind a Belkin Cable/DSL router. The server I'm connecting to is in a colocated environment. I'm not sure what routers they're using over there. You can temporarily reset these values by hand without rebooting (eg echo 0 > /proc/sys/net/ipv4/tcp_default_win_scale ) will set the tcp_default_win_scale to zero which may help your problem. Right. I meant that I'm currently in an older kernel (2.6.6-1.427) where all this stuff works. Next time I reboot, I'll do so into one of the newer kernels (eg. 2.6.7-1.448) and then play around with the proc values. Ok, I'm in 2.6.7-1.456 now and setting tcp_default_win_scale=0 fixes the problem for me too. None of the other parameters in that changeset (tcp_bic, tcp_moderate_rcvbuf, tcp_vegas_cong_avoid) seem to make a difference. Values of 1 and 2 also seem to work for tcp_default_win_scale. I discovered that I also needed to set tcp_moderate_rcvbuf to 0, else larger downloads would slow down after a while although they would start off good (1 or 2 MB into them, the transfer rate would gradually start to reduce). kernel-smp-2.6.7-1.494.2.2 # echo 0 > /proc/sys/net/ipv4/tcp_default_win_scale # echo 0 > /proc/sys/net/ipv4/tcp_moderate_rcvbuf merci! this thread is similar to https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129204 more info at http://lwn.net/Articles/91976/ mass update for old bugs: Is this still a problem in the 2.6.9 based kernel update ? |