I managed to increase the number of filehandles for a database server, but it's tricky - the kernel change is trivial, just edit include/linux/fs.h, make clean and rebuild.
However, the glibc has its own version of that definition, and at compile time sets the lengths of some arrays. You need to rebuild the glibc for yourself after making the corresponding change. I recall that it took me a while.
My kernel came with 8192 preset, by the way.
Hope it helps,
Martin
|