title: Magento and Amazon RDS - timeouts
body: <p>I have a Magento CE 1.7 installation on an Amazon EC2 instance with the Magento database on an Amazon RDS Large database instance. Generally things seems to be configured ok.</p>
  
  <p>However, when performing bulk import operations I am hitting some sort of 120 second failure. I kick off the import process and exactly 120 seconds in Chrome tells me:</p>
  
  <p>Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data</p>
  
  <p>Sure enough the import has failed.</p>
  
  <p>I have tried the often given advice of the php.ini settings:</p>
  
  <p><code>memory_limit = 256M</p>
  
  <p>max_execution_time = 1800</code></p>
  
  <p>But they don't fix it. I have tuned a number of RDS Parameter Group settings as well:</p>
  
  <p><code>innodb_lock_wait_timeout=120</code></p>
  
  <p>for example - but again no success.</p>
  
  <p>It is clear that there is some hard-coded 120 second limit somewhere (i've timed it many times!) but i cannot work out what parameter is causing the issue.</p>
  
  <p>I have tried cutting up the import file into small sections and it runs just fine when i do that. So its not input data related either</p>
  
  <p>Any help much appreciated - have pushed 2 days into this issue already :(</p>
  
  <p>TIA!</p>