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
Comment #2
binnythomas commentedComment #3
deepikakarunakaran commentedHi 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.
Comment #4
saurabhkanva commentedHello, has anyone found a solution to the issue? We are also facing the same issue in D10.4.6 and sitemap 8.15 version