XF 1.4 sitemap generation randomly terminates

dethfire

Well-known member
I'm quite sure this is a server issue but every time I run the sitemap cron the processing will at different times just stop and not complete. I am using litespeed web server 5. Does anyone have suggestions for settings to look at? We've already looked at timeout.
 
I've checked Litespeed error logs, MySQL error logs and can't see anything relating to it terminating. We've increased timeouts, max input vars, mysql settings etc.
 
Well regardless of how you trigger the cron, it runs the same way. However, I find it strange that doing it via rebuild caches is fine as it's fundamentally the same approach.

You may need to temporarily rename deferred.php (so only you access it) and manually trigger the sitemap cron. Now access now-renamed-deferred.php manually in your browser. You should see an indication when it runs. Keep refreshing that until you get an error or unexpected output or the sitemap is built in the ACP. If it errored, what happened? After you do this, you need to rename the file back so that crons will be triggered automatically as necessary.
 
Top Bottom