Results 1 to 9 of 9

Sitemap Not Running After Site Upgrade

This is a discussion on Sitemap Not Running After Site Upgrade within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Hi - I'm running 2.1 which was working fine. At the weekend, I upgraded Apache, SQL, PHP and vBUlletin (to ...

  1. #1
    Member
    Real Name
    Mike Warner
    Join Date
    Feb 2006
    Posts
    82
    Liked
    1 times

    Question Sitemap Not Running After Site Upgrade

    Hi - I'm running 2.1 which was working fine. At the weekend, I upgraded Apache, SQL, PHP and vBUlletin (to 3.7). Since then, the site map generator has not been running. I have checked the settings, plugins and hock are on, the individual product is on, it is listed correctly in the schedualed tasks - I just can't find what I wrong.

    If you try to run the schedualed task manually, I get the following error:

    vBSEO Sitemap Generator
    [SECTION START] showthread [5,439.5Kb mem used] [110,086s (+26,984s)]
    [create sitemap file] filename: sitemap_7.xml.gz, number of urls: 45000 [5,456.3Kb mem used] [110,109s (+23s)]
    [create sitemap in text format] part #8 [5,456.3Kb mem used] [110,109s (+0s)]
    Database error
    The MIG Performance Vauxhalls database has encountered a problem.
    --------------------------------------------------------------------------------

    Database error in vBulletin 3.7.0:
    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 = 52
    AND visible = 1;
    MySQL Error : MySQL server has gone away
    Error Number : 2006
    Request Date : Friday, May 9th 2008 @ 07:35:31 AM
    Error Date : Friday, May 9th 2008 @ 07:36:18 AM
    Script : xxxxxxxxxx/cronadmin.php?do=runcron&cronid=26
    Referrer : xxxxxxxxxx/index.php
    IP Address : xxxxxxxxxx
    Username : xxxxxxxxxx
    Classname : xxxxxxxxxx
    MySQL Version :
    Any help would be great. Thanks.

  2. #2
    Member
    Real Name
    Mike Warner
    Join Date
    Feb 2006
    Posts
    82
    Liked
    1 times
    Sorry - posted in wrong forum, please move. Thanks.

  3. #3
    Member
    Real Name
    Mike Warner
    Join Date
    Feb 2006
    Posts
    82
    Liked
    1 times
    Interesting - I just an email saying a sitemap had been generated and spotted it took over a day to generate! It is usually a few minutes. Here is a copy and paste from the cp:

    32 2008-04-30 01:00 362.79 s 718,238 +186 Yes View details | Remove record
    33 2008-05-01 01:00 349.50 s 718,422 +184 Yes View details | Remove record
    34 2008-05-02 01:00 358.13 s 718,629 +207 Yes View details | Remove record
    35 2008-05-03 01:00 354.96 s 718,816 +187 Yes View details | Remove record
    36 2008-05-04 01:00 344.06 s 719,016 +200 Yes View details | Remove record
    37 2008-05-05 01:00 172,922.46 s 719,431 +415 Yes View details | Remove record
    38 2008-05-08 01:00 110,485.44 s 719,966 +535 Yes View details | Remove record
    What is going on?

  4. #4
    Member
    Real Name
    Mike Warner
    Join Date
    Feb 2006
    Posts
    82
    Liked
    1 times
    FYI, upgraded php4 to php5 and sql4 to sql5.

  5. #5
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    please try to increase wait_timeout setting in MySQL configuration, sitemap generation is a relatively long process and takes more time than a "normal" web script.

    Interesting - I just an email saying a sitemap had been generated and spotted it took over a day to generate! It is usually a few minutes. Here is a copy and paste from the cp:
    It means that the script was interrupted at some point and resumed generation next day with new cron task.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #6
    Member
    Real Name
    Mike Warner
    Join Date
    Feb 2006
    Posts
    82
    Liked
    1 times
    wait_timeout is set to 30. What shouild I change it to?

  7. #7
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Default value for that setting is 28800: MySQL :: MySQL 5.0 Reference Manual :: 5.1.3 System Variables
    You might want to increase it depending on how long does it take to create sitemap.
    Otherwise, you can keep it as is and generate sitemap in 2 steps (with the second cron tasks resuming generation).
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  8. #8
    Member
    Real Name
    Mike Warner
    Join Date
    Feb 2006
    Posts
    82
    Liked
    1 times
    Thanks for the help - works fine now.

    I think I'll do one of those "server optimisation requests" over at vbulletin.com now that I've upgraded everything.

  9. #9
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Great, you are welcome
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. error while running vbseo site map gen
    By leanbulk in forum URL Rewrite Settings
    Replies: 2
    Last Post: 01-30-2008, 11:30 AM
  2. How do I know if my site is running sitemap?
    By RadarReviews_Net in forum Analysis: Traffic & SERPS
    Replies: 3
    Last Post: 11-29-2007, 07:04 AM
  3. site running super slow...
    By lafsunlmtd in forum Troubleshooting
    Replies: 5
    Last Post: 06-21-2007, 07:03 PM
  4. Running site map gen on VB 3.0.8 = blank page
    By vscope in forum Troubleshooting
    Replies: 1
    Last Post: 03-22-2006, 04:23 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
  •