title: socket: Too many open files (24) Apache bench lighttpd
body: <p>When I start Apache Bench test:</p>
  <blockquote>
  <p>ab -n 10000 -c 1300 <code>http://example.com/test.php</code></p>
  </blockquote>
  <p>I get error:</p>
  <blockquote>
  <p>socket: Too many open files (24)</p>
  </blockquote>
  <p>When I change it to '-c 1000' it works fine.</p>
  <p>Because I can have more than 1000 concurrent users I would like to fix socket too many open files problem or increase parameter. How to do this and where?</p>
  <p>I use lighttpd on CentOS 5.</p>