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 ([EMAIL PROTECTED])  ____            ___  _______
GWDG                           / __/______ ___ / _ )/ __/ _ \
Am Fassberg                   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen             /_/ /_/  \__/\__/____/___/____/
Germany

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to