Blank Sitemap
« on: January 22, 2014, 07:30:32 PM »
Hello we have recently run the sitemap generator for our [ External links are visible to forum administrators only ] website and after 2 hours it said it had finished but when I check the sitemap its blank? What am I doing wrong?
Re: Blank Sitemap
« Reply #1 on: January 25, 2014, 07:53:34 AM »
Hello,

please let me know your generator URL/login in private message to check this.
Re: Blank Sitemap
« Reply #2 on: April 25, 2015, 05:45:17 PM »
Even though this post is a year old it's the precise issue I'm having, so I don't want to hijack another post or create another.

Because I'm having the same issue, and because this post has been viewed so many times, why not add the resolve here?
It would be nice to know what the resolve was so that others can fix their sitemap.
Re: Blank Sitemap
« Reply #3 on: April 25, 2015, 06:14:27 PM »
Hello,

do you have details of created sitemap shown in "Sitemap details" block when you open generator in browser (it shows number of URLs indexed/date of sitemap etc)
Re: Blank Sitemap
« Reply #4 on: April 25, 2015, 06:21:40 PM »
Yes. I was just about to send you an E-mail with a screen shot and details. Would you prefer that, or here?
Re: Blank Sitemap
« Reply #5 on: April 25, 2015, 08:03:21 PM »
I'm running the script now with a 3600 second "restart" if the script stops.
That seems to keep it alive, but the script is taking up to 30 seconds "per-page" to scan.

The auto restart monitors the time. Since each page scanned causes the script to stop, the auto restart begins the timer after each page has been scanned. The clock gets to about 30 seconds and the next page is scanned...starting the clock over again.

I've removed the cron job, but that seems to have no effect.

Here is the most recent data:
 Links depth: 3
Current page: category/draperies-567/10
Pages added to sitemap: 2307
Pages scanned: 2344 (116,076.0 KB)
Pages left: 1216 (+ 3420 queued for the next depth level)
Time passed: 2:00:19
Time left: 1:02:25
Memory usage: 7,022.8 Kb
Resuming the last session (last updated: 2015-04-25 18:29:31)

Auto-restart monitoring: Sat Apr 25 2015 12:01:29 GMT-0700 (Pacific Standard Time) (15 second(s) since last update)

The memory usage continues to climb, which indicates (to me) that this is the "bottleneck". It would seem to me that due to the massive size of my site I need a method to stop the scan after "X" pages, allow the script to write what it has scanned to the sitemap.xml file, clear the memory, then continue with the scan.

Is that possible?
Re: Blank Sitemap
« Reply #6 on: April 26, 2015, 06:33:11 AM »
Hello,

please let me know your generator URL/login in private message to check this.
Re: Blank Sitemap
« Reply #7 on: April 26, 2015, 08:11:37 AM »
I've sent you a pm, but please post your resolve here for others.
Thanks.
Re: Blank Sitemap
« Reply #8 on: April 27, 2015, 07:51:45 AM »
Hello,

replied back. Sitemap was empty because it's created only after the crawling is completely finished.