Page 1 of 1

Problem with Timeout Value

PostPosted: 18. July 2016 04:55
by drdx
Hi All,

I am developing a Magento site with a lot of products and when attempting a database operation within Magento am getting the following error:

Fatal error: Maximum execution time of 18000 seconds exceeded

In researching it, it appears to be related to the value max_execution_time in c:\xampp\php\php.ini. Originally, this value was 18000 seconds however I have since changed it to 98000 and restarted both Apache and MySQL a few times, however the 18000 number is still cited.

Since this is Magento, I am somewhat limited to changing the code.

Is there another place I can change this value or is it hardcoded?

Thanks,

Drdx

Re: Problem with Timeout Value

PostPosted: 18. July 2016 11:12
by Nobbie
18000 seconds means 5 hours!! That is an error anyway, 5 hours response time for an online request is not acceptable.

Run a phpinfo() in order to see if your changes has been adapted, there may also be an entry in .htaccess and/or Magento may have modified that value at runtime (via ini_set() function). If in doubt, ask in a Magenta Forum, as this seems to be a plain Magenta issue. But anyway, 5 hours response looks like an ever lasting loop or so.

Re: Problem with Timeout Value

PostPosted: 18. July 2016 14:27
by drdx
Yes, it is five hours. It is acceptable. It is a development environment.

It is not a never ending loop. I am updating categories on a site with hundreds of thousands of products. On similar manufacturer files, the category update has taken 4 hours.

php_info() shows the new value 98000.

Drdx

Re: Problem with Timeout Value

PostPosted: 18. July 2016 15:12
by drdx
Thanks for the reply. It looks like Magento has it's own .htaccess file with a separate call for the max timeout value. I'll try that out this evening.

Drdx

Re: Problem with Timeout Value

PostPosted: 22. July 2016 20:40
by drdx
Changing the .htaccess value did the trick. Apparently, both values need to be updated accordingly.

Drdx