title: How do I change the number of open files limit in Linux?
body: <p>When running my application I sometimes get an error about <code>too many files open</code>.</p>
  
  <p>Running <code>ulimit -a</code> reports that the limit is 1024.  How do I increase the limit above 1024?  </p>
  
  <p><strong>Edit</strong>
  <code>ulimit -n 2048</code> results in a permission error.</p>