On Wed, Jan 05, 2005 at 12:25:30PM +0100, Dimitri Aivaliotis wrote:
> Warning: setrlimit couldn't increase number of open files to more than
> 1024 (request: 5010)
MySQL can only set a 'soft limit' for the number of open files that
must not be above the 'hard limit'.
The 'hard limits' can be displayed with 'ulimit -Ha' and can be
changed only by root with e.g. 'ulimit -H -n 10000'.
To get larger 'hard limits' for ordinary users you may configure
these in /etc/security/limits.conf and tell PAM to use the
pam_limits.so module in /etc/pam.d/.
There is another system wide limit for open files. You can
query it with 'cat /proc/sys/fs/file-max' and also change
it with something like 'echo 12345 >/proc/sys/fs/file-max'.
This must be larger than the 'hard limit' you want to set :)
Greetings,
--
Michael van Elst
Internet: [EMAIL PROTECTED]
"A potential Snark may lurk in every tree."
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [email protected]