no files can be opened in a C program

Naveen Kumar navee83 at gmail.com
Mon Jul 25 07:59:33 EDT 2011


You can use command ulimit -a, there you can check the limit for a process.

Thanks,
Naveen

On Mon, Jul 25, 2011 at 5:18 PM, Anuz Pratap Singh Tomar <
chambilkethakur at gmail.com> wrote:

>
>
> On Mon, Jul 25, 2011 at 12:31 PM, Venkateswarlu P <
> p.venkatesh551 at gmail.com> wrote:
>
>>
>> What is the Max no of files that can be opened simultaneously within a
>> Single C program.
>>
>> i want this information for kenel compilation
>>
>>
>> See man 3 setrlimit
> Total number of files that can be opened should depend on file system.
> And what this has to do with kernel compilation?
>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110725/5588ad6d/attachment.html 


More information about the Kernelnewbies mailing list