PHP timeout on large XML feeds
Posted: Thu Nov 15, 2007 9:39 am
I'm using MagicParser to parse an XML file containing about 65.000 entries. The browser screen is white for about a minute and then stops loading... Files up to 10.000 entries are no problem at all; these get added to the database properly. I raised the resource limits in php.ini 10-fold to counter this problem:
max_execution_time 6000 6000
max_input_nesting_level 64 64
max_input_time 3000 3000
memory_limit 500M 500M
The execution did not change though, there is still some kind of timeout... Should I be sending back some data to the browser with the ob_ functions or is there something else I should be looking out for?
max_execution_time 6000 6000
max_input_nesting_level 64 64
max_input_time 3000 3000
memory_limit 500M 500M
The execution did not change though, there is still some kind of timeout... Should I be sending back some data to the browser with the ob_ functions or is there something else I should be looking out for?