From owner-freebsd-stable@FreeBSD.ORG Wed Jan 30 01:45:22 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 53000E43 for ; Wed, 30 Jan 2013 01:45:22 +0000 (UTC) (envelope-from efraindector@motumweb.com) Received: from mail-da0-f52.google.com (mail-da0-f52.google.com [209.85.210.52]) by mx1.freebsd.org (Postfix) with ESMTP id 1436C6C0 for ; Wed, 30 Jan 2013 01:45:21 +0000 (UTC) Received: by mail-da0-f52.google.com with SMTP id f10so509708dak.39 for ; Tue, 29 Jan 2013 17:45:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:from:to:cc:references:in-reply-to:subject :date:organization:mime-version:content-type:x-priority :x-msmail-priority:importance:x-mailer:x-mimeole:x-gm-message-state; bh=5YeEEVZbZuJNxlsaOwyTjtGUlJq1PC6U8ncoCgolwLE=; b=UeiyFi+8ty+wvdU89pcZKlgTsigM87CQPCJVA8pFd44Gbnju43eqXrs0+vaeTQegj5 KsVCYbTrDBXTFuBRKkXAs8/pXy7RrDsl1ScP+R9cadRwZrrkm4GOq1pbF4AA4Zv07LDQ zCbcpCajJIGKC8plRN+kxqdYXPL7Nb9F8Rx9TiFq/F130+z7Y8nctxA57JtY0DBX5cPA SHIQCnDL0Fu8RcgV04JbronJkHQLzSvsA2jCjmhgV8tvDrpvuEE2bcVAQ5M0d9X13OEq ZM+rxrPAtMNO7E9pSyjNurtDgke5H9h8XarFCKDO3H0wPfD9IYYIqD7qAb+Y5lkM9o+1 Ys3A== X-Received: by 10.68.219.138 with SMTP id po10mr7630633pbc.103.1359510321490; Tue, 29 Jan 2013 17:45:21 -0800 (PST) Received: from CMOTUM25PC ([187.210.81.114]) by mx.google.com with ESMTPS id x6sm248912paw.0.2013.01.29.17.45.19 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 29 Jan 2013 17:45:20 -0800 (PST) Message-ID: From: =?UTF-8?Q?Efra=C3=ADn_D=C3=A9ctor?= To: "Adam Vande More" References: In-Reply-To: Subject: Re: About kern.ipc.somaxconn and netstat Date: Tue, 29 Jan 2013 19:45:17 -0600 Organization: =?UTF-8?Q?HESA_T=C3=A9cnica?= MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 X-Gm-Message-State: ALoCoQkft3n+6yhybkmgRjJo6/M0Z+XA1vGj7BkDH39ghhXoF5cAx457CzILU0T+ftYKevcTHFJb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 01:45:22 -0000 From: Adam Vande More=20 Sent: Tuesday, January 29, 2013 7:33 PM To: Efra=C3=ADn D=C3=A9ctor=20 Cc: freebsd-stable@freebsd.org=20 Subject: Re: About kern.ipc.somaxconn and netstat On Tue, Jan 29, 2013 at 7:26 PM, Efra=C3=ADn D=C3=A9ctor = wrote: Hello. We have a webserver using FreeBSD, we read about tunning = kern.ipc.somaxconn = (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-k= ernel-limits.html) so the OS can handle all the connections. Is there a = way to know how many connections are established in a certain moment?. I = know about netstat(1) but is there any other command that we can use to = know the exact amount of how many connections are established?. sockstat(1) There are other sysctl's to view connections in a particular state such = as net.inet.tcp.pcblist: Adam Vande More=20 --=20 Thank you. I=E2=80=99ll give it a try.