[CentOS] Help with file descriptors

Thu Nov 29 03:23:42 UTC 2007
Guy Boisvert <boisvert.guy at videotron.ca>

Garrick Staples wrote:
>>> Compile it, run it, viola!
>> ===> Voila!  (French is my first language!  Trying to help for your 
>> french here!)
> 
> Um, merci bueco?
> </slaughter>
>

Merci beaucoup!  (Thanks a lot!)

</you_re_good!>


Actually, i found that the code should read:

#include <unistd.h>
   #include <stdio.h>

   int main (void) {
     printf("current file limit: %d\n",getdtablesize());  <=== Added ()
     exit (0);
   }


I got 300 000, it's what i have in /etc/sysctl.conf.


Guy Boisvert