title: Apache2 - Error FD_SETSIZE with fastcgi
body: <p>I edited <code>__FD_SETSIZE = 1024 to 4096</code> :</p>
  
  <pre><code>/usr/include/linux/posix_types.h
  /usr/include/x86_64-linux-gnu/bits/typesizes.h
  #define __FD_SETSIZE        4096
  </code></pre>
  
  <p>I just compiled my <code>apache2</code> and <code>libapache2-mod-fastcgi</code> after these changes.
  How I can be sure I wont get this error :</p>
  
  <pre><code>[Wed Dec 03 10:24:35 2014] [error] [client xx.xx.xx.xx] FastCGI: failed to connect to server "/usr/lib/cgi-bin/php5-fcgi-dev": socket file descriptor (1024) is larger than FD_SETSIZE (1024), you probably need to rebuild Apache with a larger FD_SETSIZE, referer: http://exemple.com/
  </code></pre>
  
  <p>Is it possible to check this new value to be sure I won't see this error message again ?</p>