title: Codeigniter AJAX POST 66 records maximum
body: <ol>
  <li>We have form with unlimited rows</li>
  <li>Each row has 10 data attributes</li>
  <li>All rows sends via AJAX POST to CodeIgniter script with AR as array of associative arrays </li>
  <li>In script each row generate query </li>
  <li>After all script runs insert_on_duplicate_update_batch 3 times and insert_batch 1 time</li>
  </ol>
  
  <p>Content-lenght of ajax post request is 99299</p>
  
  <p>ANY update&amp;insert query produce only 66 rows !</p>
  
  <p>Nginx + php-fpm</p>
  
  <p>nginx.conf</p>
  
  <pre><code>proxy_buffer_size   128k;
  proxy_buffers   4 256k;
  proxy_busy_buffers_size   256k;
  </code></pre>
  
  <p>php.ini</p>
  
  <pre><code>post_max_size = 8G
  memory_limit = 512M
  upload_max_filesize = 2G (dunno need that info but ok)
  </code></pre>