Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2013 19:45:17 -0600
From:      =?UTF-8?Q?Efra=C3=ADn_D=C3=A9ctor?= <efraindector@motumweb.com>
To:        "Adam Vande More" <amvandemore@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: About kern.ipc.somaxconn and netstat
Message-ID:  <EB6E2F4CEBD945ECB8D37EB715BF1964@CMOTUM25PC>
In-Reply-To: <CA%2BtpaK2_d-6wz2q6s5tT5KU2KJ3AJy5SV4JHnxoXc9kriBvNEA@mail.gmail.com>
References:  <BA9FAF0C510840CA9AC80075F227C37E@CMOTUM25PC> <CA%2BtpaK2_d-6wz2q6s5tT5KU2KJ3AJy5SV4JHnxoXc9kriBvNEA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

From: Adam Vande More 
Sent: Tuesday, January 29, 2013 7:33 PM
To: Efraín Déctor 
Cc: freebsd-stable@freebsd.org 
Subject: Re: About kern.ipc.somaxconn and netstat

On Tue, Jan 29, 2013 at 7:26 PM, Efraín Déctor <efraindector@motumweb.com> 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-kernel-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 
-- 

Thank you. I’ll give it a try.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB6E2F4CEBD945ECB8D37EB715BF1964>