Subject: Re: sysctl & process limitations
To: Randy Arabie <rrarabie@arabie.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/04/2002 21:11:28
On Mon, Feb 04, 2002 at 12:01:11PM -0700, Randy Arabie wrote:
> On Mon, 4 Feb 2002, William R. Mussatto wrote:
> 
> > Have you checked on the ulimit for the user that is mysql?
> 
> I've checked a lot of things.  
> 
> Which would apply:
> 
> 	kern.maxfiles
> 	proc.[mysqld_pid].rlimit.descriptors.soft
> 	proc.[shell_pid].rlimit.descriptors.soft
> 
> Obviously, the process rlimits cannot exceed the limits set in the kernel.
> 
> But, between the other two, which one takes precedence...the shell from 
> which the command was invoked or the actual mysqld process?

The mysqld process
When mysqld is started the values are herited from the shell, but once it's
started you can change both values independantly with systctl.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--