• Welcome to Sitemap Generator Forum.
 

timeouts even though settings are high

Started by grannysgold, May 24, 2007, 01:01:13 AM

Previous topic - Next topic

grannysgold

I'm using version 2.5.2.
I have set my php.ini as follows:
max_execution_time = 9000
max_input_time = 3000
memory_limit = 500M

Those settings seem a little extreme to me, but I set them high anyway.
I've asked the generator to save state every 180 seconds.
This worked on another website of mine using the same hosting company and the same settings.
I'm still getting fatal memory errors and timeouts.
What do I need to do to make this stupid thing work?

grannysgold

I failed to paste in the error code that I'm receiving - So, here it is after trying again and increasing memory limit to 600M.

Fatal error: Out of memory (allocated 57671680) (tried to allocate 6291484 bytes) in /my/path/to/program/pages/class.grab.inc.php(2) : eval()'d code on line 298

I'm going to increase the little devil to 6000M and see what happens.  If I DO succeed, I will post again..... if not, PLEASE, I need some help here.

XML-Sitemaps Support

Hello,

this is a memory_limit related issue, possibly your changes were not applied and you should restart Apache for that.

grannysgold

I am told by support at PW hosting that changes to php.ini take effect immediately without restart. 
Next suggestion, please?

bleifus

May we have a look @ your phpinfo.php ?

cvos

#5
i have the same problem.  i receive a timeout on a site and the file won't save an incremental sitemap.


tan

Hello,

I used to have an older version of xml-sitemap and it worked great.  Then I upgraded to 2.5.2 and now everytime I run it, it halts execution on link depth 4.  Can someone please help me?

This is a great product but when it's not working, then it leaves me helpless.

- Bob


tan

#9
What should I increase the max execution time settings to?

right now it is set to 30 i believe.

max_execution_time 30 30
max_input_time 60 60
memory_limit 16M 16M


Besides max_execution_time, do i need to set max_input_time, memory_limit or anything else I have to set because I have to put in a request to the hosting company.

XML-Sitemaps Support

Hello,

that depends on the number of pages you have. Try increasing it to 9000. Also, increase memory_limit value.

cvos

i see why my site is timing out, i need to block one folder.   what is the code to block /folder

example:  [ External links are visible to forum administrators only ]

i tried the disallow index:  /folder

but this did not work, and this directory is still being spidered

thanks