XML Sitemaps Generator

Author Topic: Generator gets stuck after just a few seconds.  (Read 7719 times)

Iron Dutchess

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Generator gets stuck after just a few seconds.
« on: May 11, 2014, 11:38:38 AM »
Sitemap Generator  v6.1 stops working a few seconds into generation.
There doesn't seem to be any particular place or time it gets stuck, as you can see from the output below.
PHP would seem to have more than enough resources to complete the task.
I have also tried turning off generation of all other types of sitemap.

Anyone have any idea why this should be happening?

1st attempt:

Links depth: 1
Current page: forum/topic/nell-bryden-goodbye?page=1
Pages added to sitemap: 27
Pages scanned: 28 (1,132.2 KB)
Pages left: 10 (+ 100 queued for the next depth level)
Time passed: 0:00:24
Time left: 0:00:08
Memory usage: 974.8 Kb

2nd attempt:

Links depth: 1
Current page: forum/topic/nell-bryden-buildings-and-treetop?page=1
Pages added to sitemap: 29
Pages scanned: 30 (1,236.6 KB)
Pages left: 8 (+ 100 queued for the next depth level)
Time passed: 0:00:24
Time left: 0:00:06
Memory usage: 979.3 Kb

3rd attempt:

Links depth: 1
Current page: photo/upload/index/
Pages added to sitemap: 23
Pages scanned: 24 (938.7 KB)
Pages left: 14 (+ 92 queued for the next depth level)
Time passed: 0:00:15
Time left: 0:00:09
Memory usage: 799.7 Kb

Subsequent attempts have similar results.

php info:

memory_limit:   64M
max_execution_time:   30

Update:

It's definately the script getting stuck. I set it to continue even if browser window is closed. Going back to the crawler page and refreshing always displays the same info'. So the script doesn't progress at all, no matter how long you leave it.
« Last Edit: May 11, 2014, 11:56:52 AM by Iron Dutchess »

Iron Dutchess

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: Generator gets stuck after just a few seconds.
« Reply #1 on: May 11, 2014, 12:46:23 PM »
Interestingly, despite deleting all cookies, and regardless of which tab I am in, when I click "logout" it just returns me to the "Configuration" tab, and I remain logged in. So logging out is not possible either.

Tried it in both IE 11 & FF 29 browsers.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Generator gets stuck after just a few seconds.
« Reply #2 on: May 11, 2014, 01:46:43 PM »
Hello,

it looks like your server configuration doesn't allow to run the script long enough to create full sitemap. Please try to increase memory_limit and max_execution_time settings in php configuration at your host (php.ini file) or contact hosting support regarding this.
 
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

dbridges

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: Generator gets stuck after just a few seconds.
« Reply #3 on: February 29, 2016, 12:09:04 PM »
I am having the same problem with the unlimited php version of xml-sitemaps.  I've added the lines

memory_limit = 64M;
max_execution_time = 9000;

to my php.ini file but it does not seem to have helped.  Any other ideas?

website is [external links are visible to admins only]

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Generator gets stuck after just a few seconds.
« Reply #4 on: February 29, 2016, 01:34:12 PM »
Please try larger values:
memory_limit = 512M
max_execution_time = 9000

(also, semicolon is not needed at the end of lines)
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

dbridges

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: Generator gets stuck after just a few seconds.
« Reply #5 on: February 29, 2016, 02:16:09 PM »
Thank you for those suggestions.  I removed the semicolons and changed the max memory usage to 512M in both the php.ini and also in the xml-sitemaps configuration.

Same problem, however.  It runs for 3 to 5 minutes and then dies.

My site is hosted by SiteGround.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Generator gets stuck after just a few seconds.
« Reply #6 on: March 01, 2016, 06:25:22 AM »
Hello,

in this case I would recommend to run generator in command line if you have ssh access to your server.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

dbridges

  • Registered Customer
  • Approved member
  • *
  • Posts: 3
Re: Generator gets stuck after just a few seconds.
« Reply #7 on: March 01, 2016, 12:47:32 PM »
Thanks!  It worked from the command line!

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2