[grsec] Resource limit bug?

spender at grsecurity.net spender at grsecurity.net
Tue Nov 9 08:55:46 EST 2004


> give mysql more file descriptors. Calling "ulimit" as root gives
> "unlimited" so ther sould not be an ulimit for that process. Then I
> extended the subject so that it contains:
> 
> RES_NOFILE      1024    2048
> 
> But that did not help.. any hints?

1024 is a hard limit in the kernel: NR_OPEN, so it doesn't matter that 
your ulimit is set to unlimited, as the kernel has a set maximum for 
open files for a process.  You'd have to modify the kernel source to 
change this value.

-Brad


More information about the grsecurity mailing list