title: Tuning mod_wsgi in daemon mode
body: <p>I'm running wsgi application on apache mod_wsgi in daemon mode.
  I have these lines in the configuration</p>
  
  <pre><code>WSGIDaemonProcess app processes=2 threads=3 display-name=%{GROUP} 
  WSGIProcessGroup app
  </code></pre>
  
  <p>How do I find the optimal combination/tuning of processes and threads?</p>
  
  <p><strong>EDIT</strong>:
  This link [given in answer bellow] was quite usefull:
  <a href="https://serverfault.com/questions/145617/apache-2-2-mpm-worker-more-threads-or-more-processes/146382#146382">https://serverfault.com/questions/145617/apache-2-2-mpm-worker-more-threads-or-more-processes/146382#146382</a></p>
  
  <p>Now, my question is this: If my server gives quite good performance for my needs, should I reduce the number of threads to increase stability / reliability? Can I even set it to 1?</p>