Subject: Re: sysctl & process limitations
To: Randy Arabie <rrarabie@arabie.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/08/2002 20:24:55
On Thu, Feb 07, 2002 at 08:35:47AM -0700, Randy Arabie wrote:
> On Tue, 5 Feb 2002, Manuel Bouyer wrote:
>
> > > > The 'safe_mysqld' script I use has an option to raise the limit:
> > > > /usr/pkg/bin/safe_mysqld --open-files-limit=256
>
> Passing that option when starting mysqld works. I don't understand why
> the errno:23 was reported, since this was really a mysql thing, not a
> NetBSD / kernel thing.
Sure, and I didn't find the kernel returning errno 23 to mysqld in
your traces. I suspect mysqld does its own file descriptor accounting,
which is my the sysctl trick doesn't work in this case.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--