From owner-freebsd-amd64@FreeBSD.ORG Mon May 12 07:50:01 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D3E51065676 for ; Mon, 12 May 2008 07:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5952B8FC18 for ; Mon, 12 May 2008 07:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4C7o1Vj019329 for ; Mon, 12 May 2008 07:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4C7o1QN019328; Mon, 12 May 2008 07:50:01 GMT (envelope-from gnats) Resent-Date: Mon, 12 May 2008 07:50:01 GMT Resent-Message-Id: <200805120750.m4C7o1QN019328@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5F5B106566C for ; Mon, 12 May 2008 07:46:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C34D78FC14 for ; Mon, 12 May 2008 07:46:20 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4C7jGd8048925 for ; Mon, 12 May 2008 07:45:16 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m4C7jGh7048924; Mon, 12 May 2008 07:45:16 GMT (envelope-from nobody) Message-Id: <200805120745.m4C7jGh7048924@www.freebsd.org> Date: Mon, 12 May 2008 07:45:16 GMT From: John To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 12 May 2008 11:20:55 +0000 Cc: Subject: amd64/123603: tcp_do_segment and Received duplicate SYN X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 07:50:01 -0000 >Number: 123603 >Category: amd64 >Synopsis: tcp_do_segment and Received duplicate SYN >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 12 07:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: John >Release: FB7.0 (x64) >Organization: NULL >Environment: FreeBSD mail.mydomain.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Thu Mar 6 12:04:57 HKT 2008 root@mydomain.com:/usr/src/sys/amd64/compile/FB7NEW amd64 >Description: A FreeBSD 7.0 (x64) Lighttpd Web Server with most-updated ports and patchs. when a client connect and view a static HTML file, At the first time (before web server idle time), it needs to wait a long time to establish a connection, OR when this server try to download file from Internet, there are lots of logs messages just like below: May 12 11:57:54 mail kernel: TCP: [55.66.77.88]:41792 to [11.22.33.44]:80 tcpflags 0x2; syncache_add: Received duplicate SYN, resetting timer and retransmitting SYN|ACK May 12 15:17:53 mail kernel: TCP: [193.166.3.2]:45979 to [11.22.33.44]:63372 tcpflags 0x10; tcp_do_segment: FIN_WAIT_1: Received 1448 bytes of data after socket was closed, sending RST and removing tcpcb May 12 15:17:53 mail kernel: TCP: [193.166.3.2]:21 to [11.22.33.44]:55007 tcpflags 0x18; tcp_do_segment: FIN_WAIT_2: Received 13 bytes of data after socket was closed, sending RST and removing tcpcb >How-To-Repeat: any type of connection will generate above log messages. >Fix: no idea . >Release-Note: >Audit-Trail: >Unformatted: