From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 10 05:40:05 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3CEA0106564A for ; Fri, 10 Sep 2010 05:40:05 +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 019498FC1C for ; Fri, 10 Sep 2010 05:40:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8A5e4a5073311 for ; Fri, 10 Sep 2010 05:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8A5e47S073310; Fri, 10 Sep 2010 05:40:04 GMT (envelope-from gnats) Resent-Date: Fri, 10 Sep 2010 05:40:04 GMT Resent-Message-Id: <201009100540.o8A5e47S073310@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, jason zhoa Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E747C106564A for ; Fri, 10 Sep 2010 05:36:25 +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 D7AA78FC21 for ; Fri, 10 Sep 2010 05:36:25 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o8A5aObn021844 for ; Fri, 10 Sep 2010 05:36:24 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o8A5aO8I021843; Fri, 10 Sep 2010 05:36:24 GMT (envelope-from nobody) Message-Id: <201009100536.o8A5aO8I021843@www.freebsd.org> Date: Fri, 10 Sep 2010 05:36:24 GMT From: jason zhoa To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/150459: lots of time_wait X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 05:40:05 -0000 >Number: 150459 >Category: misc >Synopsis: lots of time_wait >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 10 05:40:04 UTC 2010 >Closed-Date: >Last-Modified: >Originator: jason zhoa >Release: FreeBSD 7.2-RELEASE #0 >Organization: gy >Environment: FreeBSD 7.2-RELEASE #0 amd64 >Description: tcp4 0 0 192.168.0.26.9939 192.168.0.195.11211 TIME_WAIT netstat -an | awk '{if($5 ~/11200/ && $6 ~/TIME_WAIT/) print $0}' | wc -l 64203 sysctl net.inet.tcp.msl net.inet.tcp.msl: 2500 msl will not recycle "TIME_WAIT" states when have lots of "TIME_WAIT",like 64203 so server local port will Exhaust, if i open a connection it will report: telnet 192.168.0.195 11211 Trying 192.168.0.195... telnet: connect to address 192.168.0.195: Can't assign requested address telnet: Unable to connect to remote host what can i do? only reboot server? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: