• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Vaultwiki breaks sitemap generation process, caused server to run out of disk space and crash

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Vaultwiki breaks sitemap generation process, caused server to run out of disk space and crash

    • Issue Tools
      • View Changes
    1. issueid=4444 November 10, 2015 12:40 PM
      clackey clackey is offline
      New Member
      Vaultwiki breaks sitemap generation process, caused server to run out of disk space and crash

      Was woken up very early this morning by my alerts going off that our sites were down.

      Eventually tracked it down to Vaultwiki breaking sitemap generation during the tags step. When it took down the server, it'd created 43GB of temp sitemap files, when that's normally < 10MB. It would have continued to try to generate the temp files except it ran out of space. The sitemap log shows it created 8,202 files tracking 410+ million urls on a site that has nowhere near that.

      I just now implemented the fix for the 'Undefined Index: user' issue, hoping that would fix this as well but it didn't...

      When I run build sitemap with Vaultwiki disabled, it works perfectly. But as soon as VW enabled, it just perpetually churns out temp files.

      I've disabled automatic sitemap generation for now. Let me know the fix and I'll apply... I'm kind of surprised no one else has hit this yet.
    Issue Details
    Issue Number 4444
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Permissions / Security
    Status Fixed
    Priority 2 - Fatal / Database Errors
    Affected Version 4.0.7
    Fixed Version 4.0.7
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 11, 2015 8:20 AM
      pegasus pegasus is offline
      VaultWiki Team
      In library/vw/XenForo/Model/Tag.php, find:
      Code:
      $tags["$key"] = $tag;
      Replace with:
      Code:
      $tags["$tag_id"] = $tag;
      I will issue a patch shortly. This was incorrectly resolving to $tags['tag_id'] rather than $tags[actual_tag_id]
      Reply Reply
    2. November 11, 2015 5:05 PM
      clackey clackey is offline
      New Member
      Thanks. That fixed it.

      Also, in the future do you mind including line numbers when you list the code to replace?
      I'm always a bit leery of accidentally swapping the wrong bit of code...
      Reply Reply
    3. November 11, 2015 9:05 PM
      pegasus pegasus is offline
      VaultWiki Team
      Everyone's line numbers are different, unfortunately.
      Reply Reply
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 10:45 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.