"FreeBSD have a very low default file handle limit"?
Konrad Heuer
kheuer2 at gwdg.de
Tue Nov 4 00:26:31 PST 2003
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 at gwdg.de) ____ ___ _______
GWDG / __/______ ___ / _ )/ __/ _ \
Am Fassberg / _// __/ -_) -_) _ |\ \/ // /
37077 Goettingen /_/ /_/ \__/\__/____/___/____/
Germany
More information about the freebsd-questions
mailing list