On Mon, Jul 05, 2010 at 10:27:32AM +0500, adnan iqbal wrote: > In the file /usr/local/asm-generic.h , RLIMIT_NOFILE is defined to be > equal to 7. > > In > /usr/local/Cavium_Networks/OCTEON-SDK/tools/usr/include/asm/resource.h:#define > RLIMIT_NOFILE 5 > > In > /usr/local/Cavium_Networks/OCTEON-SDK/tools/usr/include/asm-generic/resource.h:# > define RLIMIT_NOFILE 7 > i have confirmed through C program that the operating system is using > RLIMIT_NOFILE=5. I need help to figure out which header files are actually > being used by the kernel to get exact Resource Identifier. The non-generic definition, that is RLIMIT_NOFILE is defined as 5. Ralf