[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Magento and Amazon RDS - timeouts

Posted on 2012-08-21
Medium Priority
Last Modified: 2012-08-22
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.

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:

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data

Open in new window

Sure enough the import has failed.

I have tried the often given advice of the php.ini settings:
memory_limit = 256M

max_execution_time = 1800

Open in new window

But they don't fix it. I have tuned a number of RDS Parameter Group settings as well:


Open in new window

for example - but again no success.

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.

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

Any help much appreciated - have pushed 2 days into this issue already :(

Question by:arndale65
  • 2
  • 2
  • 2
LVL 58

Expert Comment

ID: 38318197
Have you looked at Magmi - may not solve the timeout but it is sure damn faster than using native Magento import.
LVL 15

Expert Comment

by:Ess Kay
ID: 38318226

Author Comment

ID: 38318348
GaryC123 -
I have tried an alternative to Magmi (another bulk import module) and that also hits to 120 second limit - thanks for the suggestion though

esskayb2d -
Yes i have tried the htaccess and php.ini for the parameters i mention in the post - same result - but thanks for the suggestion
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

LVL 58

Accepted Solution

Gary earned 1500 total points
ID: 38318375
This related issue

with a 'solution' but not a proper solution
LVL 15

Expert Comment

by:Ess Kay
ID: 38318385
try switching the php version

Author Closing Comment

ID: 38319785
Yes the issue was around the related issue. Work around i have put in place is for back end access (i.e. for large batch jobs of any flavour) to be on a separate, directly addressable via  EIP sub-domain. Thanks a million for the pointer.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses
Course of the Month19 days, 11 hours left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question