Results 1 to 3 of 3

Sitemap cron from server crashes in loop

This is a discussion on Sitemap cron from server crashes in loop within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; No matter how low we set our setting, the job won't complete. This is on both vB3 and vB4. The ...

  1. #1
    Junior Member
    Real Name
    Dave
    Join Date
    May 2008
    Posts
    14
    Liked
    0 times

    Sitemap cron from server crashes in loop

    No matter how low we set our setting, the job won't complete. This is on both vB3 and vB4. The error on vb4 is on the same forum id every time no matter what our settings are.

    This is the error every time.

    Invalid SQL:

    SELECT count(*) as cnt
    ,max(views) as maxv,avg(views) as avgv
    ,max(replycount) as maxre,avg(replycount) as avgre
    FROM thread
    WHERE forumid = 107
    AND visible = 1;

    MySQL Error : MySQL server has gone away
    Error Number : 2006

    Request Date : Friday, October 7th 2011 @ 04:37:00 PM
    Error Date : Friday, October 7th 2011 @ 04:40:14 PM
    Script : seo_sitemap/vbseo_sitemap.php
    Referrer :
    IP Address :
    Username : Unregistered
    Classname : vB_Database
    MySQL Version :


    We have 300k and 500k threads and 1.9millions and 2.5 million posts respectively.

    Anyone else have this issue? This is from both vB cron and system cron, we prefer the system cron however.

    Please advise.

    Thanks

  2. #2
    vBSEO.com Webmaster Mert Gökçeimam's Avatar
    Real Name
    Lizard King
    Join Date
    Oct 2005
    Location
    Istanbul, Turkey, Turkey
    Posts
    23,111
    Liked
    622 times
    Blog Entries
    4
    You need to increase mysql wait_timeout value to 175 and restart MySQL. If you have a big board , you should create sitemap files directly from a server level cron job
    Mert Gökçeimam / Crawlability Inc.

    vBSEO 3.6.0 Alpha Önizlemesi - Including Like Tree
    Unveiling the NEW vBSEO Sitemap Generator 3.0 - available NOW for vBSEO Customers!


    Twitter:@Depkac
    Personal Blog : Mert Gökçeimam

  3. #3
    Junior Member
    Real Name
    Dave
    Join Date
    May 2008
    Posts
    14
    Liked
    0 times
    Thanks, we'll have the server people check the timeout. We are using system cron. Thanks!

Similar Threads

  1. vBulletin 4.x CMS Sitemap cron.php ???
    By Tahooma in forum Troubleshooting
    Replies: 5
    Last Post: 12-10-2010, 02:47 PM
  2. Sitemap Cron not working
    By Mikenificent in forum Troubleshooting
    Replies: 7
    Last Post: 04-25-2008, 06:23 PM
  3. Run Sitemap generator from Server CRON?
    By MRBarto in forum Troubleshooting
    Replies: 3
    Last Post: 03-15-2008, 12:41 AM
  4. Sitemap 2.1 - 2 x cron job
    By mljask in forum General Discussion
    Replies: 2
    Last Post: 01-29-2008, 04:09 PM
  5. sitemap cron stoped working with RC4.
    By Code Monkey in forum Troubleshooting
    Replies: 19
    Last Post: 09-14-2006, 10:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •