Problem with Timeout Value

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problem with Timeout Value

Postby drdx » 18. July 2016 04:55

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
drdx
 
Posts: 7
Joined: 18. July 2016 04:49
XAMPP version: 3.2.1
Operating System: Windows Server 2012

Re: Problem with Timeout Value

Postby Nobbie » 18. July 2016 11:12

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.
Nobbie
 
Posts: 13171
Joined: 09. March 2008 13:04

Re: Problem with Timeout Value

Postby drdx » 18. July 2016 14:27

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
drdx
 
Posts: 7
Joined: 18. July 2016 04:49
XAMPP version: 3.2.1
Operating System: Windows Server 2012

Re: Problem with Timeout Value

Postby drdx » 18. July 2016 15:12

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
drdx
 
Posts: 7
Joined: 18. July 2016 04:49
XAMPP version: 3.2.1
Operating System: Windows Server 2012

Re: Problem with Timeout Value

Postby drdx » 22. July 2016 20:40

Changing the .htaccess value did the trick. Apparently, both values need to be updated accordingly.

Drdx
drdx
 
Posts: 7
Joined: 18. July 2016 04:49
XAMPP version: 3.2.1
Operating System: Windows Server 2012


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 126 guests