From owner-freebsd-stable@FreeBSD.ORG Wed Jan 30 01:33:50 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5AC6B9FB for ; Wed, 30 Jan 2013 01:33:50 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id C17E4645 for ; Wed, 30 Jan 2013 01:33:49 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id o1so3084271wic.17 for ; Tue, 29 Jan 2013 17:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Dmbr7FGjm/dNY72m5j9qGAKsg/4q+rkc+zB1MXMhFVY=; b=xusELx+w9QZbS/rgtIy2XYT/fM2nHhwwAGRWqvKXyjXsibEQLDcF/29sgRvJQfFDZN JkIGRd0ikJ2fMGoG8xd7VXJqUrFAWhn9nz0Xad18dYWq+N759xst9eQYF0tlSmi7pe1L EboQQChsGmA4k1yKF0Elw8qi+zrzlTiHDeki0SOgvA7ISmYcm3nHTGzrHFlVjGzsXOZf xI7eLakyJFoD/RwBcthoi+S0q25SBTe+FI+t6DWIwoDZIjgDmfqaYFRz8QA74bKyA6g4 fbtWO47AY5/g6QPQUyCKLNTYzSce0tY4W0dfcfUjfiVLtNKv1F8iE/xSEG260YedkzAb J/zw== MIME-Version: 1.0 X-Received: by 10.194.174.196 with SMTP id bu4mr5709040wjc.35.1359509628393; Tue, 29 Jan 2013 17:33:48 -0800 (PST) Received: by 10.194.86.131 with HTTP; Tue, 29 Jan 2013 17:33:48 -0800 (PST) In-Reply-To: References: Date: Tue, 29 Jan 2013 19:33:48 -0600 Message-ID: Subject: Re: About kern.ipc.somaxconn and netstat From: Adam Vande More To: =?ISO-8859-1?Q?Efra=EDn_D=E9ctor?= Content-Type: text/plain; charset=ISO-8859-1 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:33:50 -0000 On Tue, Jan 29, 2013 at 7:26 PM, Efra=EDn D=E9ctor 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-ke= rnel-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 o= f > 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: --=20 Adam Vande More