> My system is running on kernel 2.0.35 coming with RedHat5.1.
Try the many FDs patch:
ftp://ftp.is.co.za/linux/local/kernel/filehandle.patch.linux.v8.01
> To be more specific, my process is multi-threaded.
> and each thread need to have as many as 3K FDs.
ok
> so, I am going to patch LinuxThreads 0.71 for threads not to share
> their FDs.
why? threads are suppose to share FDs by definition.
If your going to do that, why not have n processes and use shared
memory?
> I think It's possible by removing CLONE_FILES from clone's flag argument.
yes, that should work
> I expect that the maximum number of threads having 3K FDs is up to 16.
> Is it possible? How can I do it?
apply the patch from above, and see how it goes.
-cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/