Date: Tue, 4 Nov 2003 09:26:28 +0100 (CET) From: Konrad Heuer <kheuer2@gwdg.de> To: Zhang Weiwu <weiwuzhang@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: "FreeBSD have a very low default file handle limit"? Message-ID: <20031104092337.W16730@gwdu60.gwdg.de> In-Reply-To: <3FA76132.8010007@hotmail.com> References: <3FA76132.8010007@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Nov 2003, Zhang Weiwu wrote: > I am reading the MySQL manual for 4.4.1-alpha where it said: > > "FreeBSD is also known to have a very low default file handle limit." > (Section 2.4.6.1) > > I check the limit by using: > > >sh -c ulimit -n > > < > unlimited > > Though I don't know if this is the correct way to check "default file > handle limit", but it looks like FreeBSD does not "have a very low > default file handle limit"? I'd check the internal kernel limits, too: sysctl kern.maxfiles sysctl kern.maxfilesperproc You can rise them by entering: sysctl -w kern.maxfiles=the_number_you_need sysctl -w kern.maxfilesperproc=the_number_you_need Regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031104092337.W16730>
