Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 20:25:52 +1100
From:      Kubilay Kocak <koobs.freebsd@gmail.com>
To:        =?ISO-8859-1?Q?Efra=EDn_D=E9ctor?= <efraindector@motumweb.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: About kern.ipc.somaxconn and netstat
Message-ID:  <5108E720.70705@gmail.com>
In-Reply-To: <BA9FAF0C510840CA9AC80075F227C37E@CMOTUM25PC>
References:  <BA9FAF0C510840CA9AC80075F227C37E@CMOTUM25PC>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30/01/2013 12:26 PM, Efraín Déctor 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?.
> 
> 
> Thanks in advance.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
> 

This one might help:

kern.ipc.numopensockets: Number of open sockets

It's usefulness will depend on the granularity you require (in only, out
only, established only, etc) but it's always represented system-wide
resource consumption very well (matching observed workloads - <some
baseline value>)

--
Ta,

Koobs




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