title: php-fpm "pool seems busy error". Why am I getting this?
body: <p>I have a server with 64gb RAM using apache + fastcgi to connect to php-fpm. </p>
  
  <p>I am running some load tests with ApacheBench. 500k reqs with 200 reqs/sec (goal is 10k/sec per server). I keep getting the "pool seems busy error" and am at a loss as to how to configure fpm properly to handle even 200reqs/sec. Feels like i'm missing something obvious.</p>
  
  <p>fpm-config:</p>
  
  <pre><code>pm = dynamic
  pm.max_children = 8192
  pm.start_servers = 2048
  pm.min_spare_servers = 2048
  pm.max_spare_servers = 2048
  pm.max_requests = 8000
  </code></pre>
  
  <p>apache config:</p>
  
  <pre><code>&lt;IfModule worker.c&gt;
  StartServers         2048
  ServerLimit     8175
  MaxClients         8175
  MinSpareThreads    2048
  MaxSpareThreads     2048
  ThreadsPerChild     25
  MaxRequestsPerChild  8000
  &lt;/IfModule&gt;
  </code></pre>
  
  <p>What am I doing wrong?</p>