Problem/Motivation

I am noticing two different issues happening with the sitemap intermittently

1. Sitemap returning 404 error

Visiting mysite.com/sitemap.xml returns a page not found error. The reason seems to be sitemap generation running during the cron run and failing, most likely causing the cron stuck situation (db semaphore not cleaned)

Cron is set to run every 30 minutes

2. Sitemap is empty

The sitemap generation doesn’t fail, but the page turns up empty.

Empty pages (https://mysite.com/sitemap.xml):

https://msyite.com/sitemap.xml?page=1

https://msyite.com//sitemap.xml?page=2

This does not always happen and is challenging to reproduce. Probably a misconfiguration or a memory error. What could be the root cause of the issue?

Comments

binnythomas created an issue. See original summary.

binnythomas’s picture

Title: Sitemap showing erratic behaviour | Page not found or empty sitempa » Sitemap showing erratic behaviour | Page not found or empty sitemap
deepikakarunakaran’s picture

Hi Binny,

We were also facing same issue and when tried disabling "Include Stylesheet.." option & rebuild the sitemap, it works fine. We could replicate it again when stylesheet option is enabled.

saurabhkanva’s picture

Hello, has anyone found a solution to the issue? We are also facing the same issue in D10.4.6 and sitemap 8.15 version