Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1681

SolusVM: Update how swap (burst) is determined for OpenVZ

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0-b3
    • Fix Version/s: 3.5.0-b4
    • Component/s: Modules
    • Labels:
      None

      Description

      OpenVZ virtualization types have a specific requirement that the swap (burst) memory be equal to or greater than the memory being set. Because separate config options affect this, it is possible to set swap to a value less than memory, which causes an error.

      The module should be updated for OpenVZ to set swap/burst as follows:

      • Swap/Burst memory should always be set to the total memory. Total memory = plan memory + extra_memory (from the config option)
      • If the config option for swap is set, Swap/Burst memory is equal to the total memory + extra_swap (from the config option)

      Swap/burst for OpenVZ will then always be equal to or greater than the memory.

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              tyson Tyson Phillips (Inactive)
              Reporter:
              tyson Tyson Phillips (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                2/Jun/15