title: uwsgi throws IO error caused by uwsgi_response_write_body_do broken pipe
body: <p>My application is a uwsgi+django setup.  I use gevent to do performance testing and run 1200 requests concurrently.  At this point, uwsgi will throw an IO error with the following log message:</p>
  
  <pre class="lang-none prettyprint-override"><code>uwsgi_response_write_body_do(): Broken pipe [core/writer.c line 260]
  IOError: write error
  </code></pre>
  
  <p>Django 1.4.0<br>
  uwsgi: 1.9.13<br>
  python: 2.6<br>
  TCP Listen queue: 1000</p>
  
  <p>What is the cause of this broken pipe error?  </p>