My site ([external links are visible to admins only]) has more than 3000 pages, but the sitemaps finishes with only 27 pages. It appears that didn't go for deeper depth levels. I didn't get any error message.
Trying the online sitemap, it stopped after reach the 500's page.
What could it be?