Subject: Re: sysctl & process limitations
To: Dan Nelson <dnelson@allantgroup.com>
From: William R. Mussatto <mussatto@csz.com>
List: netbsd-help
Date: 02/04/2002 10:26:01
Have you checked on the ulimit for the user that is mysql?
On Sat, 2 Feb 2002, Dan Nelson wrote:
> Date: Sat, 2 Feb 2002 20:58:07 -0600
> From: Dan Nelson <dnelson@allantgroup.com>
> To: Randy Arabie <rrarabie@arabie.org>
> Cc: Manuel Bouyer <bouyer@antioche.eu.org>, netbsd-help@netbsd.org,
> mysql@lists.mysql.com
> Subject: Re: sysctl & process limitations
>
> In the last episode (Feb 02), Randy Arabie said:
> > On Sat, 2 Feb 2002, Dan Nelson wrote:
> > mysql.
> > > > kern.maxfiles = 1772
> > >
> > > Raise that to (say) 5000. I assume netbsd has an /etc/sysctl.conf you
> > > can use, or you can do it manually via "sysctl -w kern.maxfiles=5000" .
> >
> > How high can I go??
> >
> > Tried 5000, and it still bombs at the same point. I set that at the
> > kernel level and the descriptors at the process level.
>
> The error might not actually be the kernel limit being reached. It
> might just be the per-process rlimit. What does "ulimit -n" print?
>
> --
> Dan Nelson
> dnelson@allantgroup.com
>
> ---------------------------------------------------------------------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail <mysql-thread98409@lists.mysql.com>
> To unsubscribe, e-mail <mysql-unsubscribe-mussatto=csz.com@lists.mysql.com>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
Sincerely,
William Mussatto, Senior Systems Engineer
CyberStrategies, Inc
ph. 909-920-9154 ext. 27