title: Need to "calculate" optimum ulimit and fs.file-max values according to my own server needs
body: <p>Need to "calculate" optimum ulimit and fs.file-max values according to my own server needs.
  Please do not conflict with "how to set those limits in various Linux distros" questions. </p>
  
  <p>I am asking:</p>
  
  <ol>
  <li>Is there any good guide to explain in detail, parameters used for ulimit? (> 2.6 series kernels) </li>
  <li>Is there any good guide to show fs.file-max usage metrics?</li>
  </ol>
  
  <p>Actually there are some old reference i could find on the net:
  <a href="http://www.faqs.org/docs/securing/chap6sec72.html" rel="noreferrer">http://www.faqs.org/docs/securing/chap6sec72.html</a>
  "something reasonable like 256 for every 4M of RAM we have: i.e. for a machine with 128 MB of RAM, set it to 8192 - 128/4=32 32*256=8192"</p>
  
  <p>Any up to date reference is appreciated. </p>