XML Sitemaps Generator

Author Topic: Internal Server Error when generating sitemap  (Read 7921 times)

jastacuk

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Internal Server Error when generating sitemap
« on: July 07, 2013, 06:56:49 PM »
Hi guys,

I have an issue with the standalone sitemap generator - it is producing an internal server error when it is mid generation.

Looks like it is getting about 70% of the way through the scan before it stops like this.

Could someone help me to troubleshoot this issue?

thanks in advance

Dave

jastacuk

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Internal Server Error when generating sitemap
« Reply #1 on: July 08, 2013, 04:54:37 PM »
update: I has completed, but it produced the same error several times, Im wondering if there is some sort of memory issue?

the sitemap is quite big - 4864 pages. But also the server is quite capable as well - Quad core AMD with 8GB ram.

Any ideas?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Internal Server Error when generating sitemap
« Reply #2 on: July 08, 2013, 09:13:34 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.

jastacuk

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Internal Server Error when generating sitemap
« Reply #3 on: July 16, 2013, 07:27:46 AM »
tried these values and they did not help - checked and they had taken effect - they show up if I spill a php config page.

memory_limit   1024M
max_execution_time   600

However, when I checked the sitemap generation execution time, it said 16 minutes, so Im wondering if the max execution variable still wasnt long enough.

Assuming thats seconds, I have changed it to 20 x 60 (20 minutes) = 1200

And I am just re-running the generator now.

jastacuk

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: Internal Server Error when generating sitemap
« Reply #4 on: July 16, 2013, 07:39:42 AM »
failed again:

Time passed: 0:08:04
 Time left: 0:00:05
 Memory usage: 3,721.9 Kb

Maybe that memory usage is the issue?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Internal Server Error when generating sitemap
« Reply #5 on: July 18, 2013, 08:43:24 PM »
Hello,

please let me know your generator URL/login in private message to check 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.

 

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