From owner-freebsd-questions@FreeBSD.ORG Fri Sep 10 11:42:57 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B672106566B for ; Fri, 10 Sep 2010 11:42:57 +0000 (UTC) (envelope-from amijaresp@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B5B88FC0A for ; Fri, 10 Sep 2010 11:42:56 +0000 (UTC) Received: by bwz20 with SMTP id 20so2497112bwz.13 for ; Fri, 10 Sep 2010 04:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=/MrVj0o8p05jRmBe/mEqGSbyS4egbpZ7+riAgDZo6nQ=; b=Snlrq4HB+jY0u5sTd0mipilFjf4BA9scfAJLG3dgDw6hFMkj+AQl8csVXUp4yRQvc8 L/zQLW7IPq+T3A8TzYOI0SQYgHnJpAX7G1y38Snm9yVSuCkrd8e6MTigePxci7Rke0cH HyT2p8ZuLbUA/+tCn9zX4QQxWtHowzIWVfzdc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=cAVcQ7DEwMAv6ubGbZs6eDD0V0ONoQuvCwAq7wa80H2xclfVMQbE70NYnZ/SE7pOZY XFXGyhBZXe9kNRexEZTGylrJeJekK+NP8xKjui41FIEoA69z9iuMRbRKEMgwkw2GD6Lf FbsAbebpQpb6SNJ15uXeLi15ZnLFFNIBLuQg0= MIME-Version: 1.0 Received: by 10.204.72.209 with SMTP id n17mr488348bkj.52.1284118975776; Fri, 10 Sep 2010 04:42:55 -0700 (PDT) Received: by 10.204.83.82 with HTTP; Fri, 10 Sep 2010 04:42:55 -0700 (PDT) In-Reply-To: <150b04a.1188c.12afab358b4.Coremail.jason_zhoa@126.com> References: <150b04a.1188c.12afab358b4.Coremail.jason_zhoa@126.com> Date: Fri, 10 Sep 2010 07:12:55 -0430 Message-ID: From: Alberto Mijares To: jason Content-Type: text/plain; charset=UTF-8 Cc: questions@freebsd.org Subject: Re: lots of time_wait X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 11:42:57 -0000 2010/9/10 jason : > hello,i have a problem: > 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 > You should check the application's idle connections time out. Regards Alberto Mijares