Re: [2.6.24.3][net] bug: TCP 3rd handshake abnormal timeouts



Hi

Thanks for the netdev Cc, I didn't know where to write to the "network guys".

By the way thanks for replying. It's hard to explain and describe a problem when you know people will ask you hundreds of questions related to application-level problems, or not reply because web/mysql problems are so common and generally not related to any kernel issue.

On 03/15/2008 7:58:49 AM +0100, Willy Tarreau <w@xxxxxx> wrote:

You should carefully check the the SYN-ACK received by the client has a
correct checksum ("cksum OK" in tcpdump output). It would be possible
that for some reason, something on the network randomly corrupts it.

I used to use TCP offloading one time, and by the way never had a problem with it. Besides just to be sure, I have been able to reproduce the problem without any offload engine enabled (= not compiled into the kernel, mainly because it seems to hang the kernel at boot in 2.6.24.3). So I assume that is not the problem

I use wireshark to analyse my pcap files and it says the checksum is correct on all packets.

Also, you say you have netfilter with conntrack. Is this on the client ?
If so, you should try disabling it to rule out any possible bug in the
connection tracking.

I have the conntrack on both the client and server, and unfortunately can't disable it now on the client (I use it only for the REDIRECT target on a precise destination address and port, not MySQL related), however I will test today and disable it on the server, after I get some sleep (although I think the issue is on the client).

Gabriel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Kernel Space -> User Space IPC
    ... I am writing a network mini-redirector and I want to know how I can asynchronously send 'messages' from the kernel space to the user space and receive ACK or something similar. ... we use RPC binding both a SOCKET channel and a LOCAL RPC channel which if I recall Windows use named pipes beneath the hood. ... If all you want is a broadcast, you can register a message and broadcast it for your client to receive. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: SMB packet and secure channel signing
    ... You know, in all the times that you and I have the debate on SMB Signing, ... > Optionally you can do "if client agrees" and thus the signing will be ... > Just don't screw up in the process of disabling these suckers. ... SMB Signing puts a tag on each and every network packet ...
    (microsoft.public.windows.server.sbs)
  • Re: SMB signing problem with winXP
    ... In an SBS 2003 network with Windows XP workstations I did have ... It drove the client crazy because it hung ... >> SMB Signing in the Default Domain Policy and the Default Domain ... >> There is no problem with Disabling SMB Signing entirely. ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: [2.6.24.3][net] bug: TCP 3rd handshake abnormal timeouts
    ... I didn't know where to write to the "network ... you should try disabling it to rule out any possible bug in the ... I have the conntrack on both the client and server, ...
    (Linux-Kernel)
  • A question about disk-cacheing
    ... I had the following experiences with linux network file system clients. ... it run 6-8 times faster than with Novell/ncpfs client. ... The linux kernel, the kernel ...
    (Linux-Kernel)