0

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

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

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

innodb_lock_wait_timeout=120

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 :(

TIA!

4

2 回答 2

2

我相信 ELB 负载均衡器的超时有硬性限制。

于 2012-08-22T14:04:05.290 回答
1

正如 sarcksoft 所建议的,问题与负载平衡器有关。ELB 丢弃空闲 60 秒的连接。不得不通过在单独的子域上直接对 EIP 执行批处理作业来解决问题。

于 2012-08-22T10:03:23.460 回答