Date: Thu, 22 Jun 2006 11:10:11 +0300 From: Nikos Vassiliadis <nvass@teledomenet.gr> To: freebsd-questions@freebsd.org Cc: scuba@centroin.com.br Subject: Re: How to raise the limit for sockets Message-ID: <200606221110.11848.nvass@teledomenet.gr> In-Reply-To: <20060622001205.L85604@trex.centroin.com.br> References: <20060622001205.L85604@trex.centroin.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 22 June 2006 06:12, scuba@centroin.com.br wrote:
> Hi all,
>
> How can I raise the file descriptors limits for each socket in
> FBSD 5.4?
Each socket is a descriptor. I guess you need something like:
from limits(1):
-n [val] Select or set the openfiles resource limit. The system-wide
limit on the maximum number of open files per process can be
viewed by examining the kern.maxfilesperproc sysctl(8) vari-
able. The total number of simultaneously open files in the
entire system is limited to the value displayed by the
kern.maxfiles sysctl(8) variable.
--[snip]--
SEE ALSO
csh(1), env(1), limit(1), sh(1), getrlimit(2), setrlimit(2),
login_cap(3), login.conf(5), sysctl(8)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606221110.11848.nvass>
