Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 1998 10:12:58 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        zavadsky <zavadsky@im.bas-net.by>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Open socket limit in FreeBSD
Message-ID:  <19980421101258.A21314@emsphone.com>
In-Reply-To: <353C73BD.9F7BE568@im.bas-net.by>; from "zavadsky" on Tue Apr 21 14:23:57 GMT 1998
References:  <353C73BD.9F7BE568@im.bas-net.by>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Apr 21), zavadsky said:
> Does FreeBSD has 1024 of open sockets+files limit, as Linux has?
> Zavadsky V.L.

$ sysctl -a | grep maxfile
kern.maxfiles: 3240
kern.maxfilesperproc: 3240
$ _

So the answer is no :).  It's adjustable on the fly via "sysctl -w".  

I don't think Linux has a hard limit either; you may need to recompile
the kernel to change it, though.

	-Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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