Uploaded image for project: 'Percona Monitoring and Management'
  1. Percona Monitoring and Management
  2. PMM-5217

Increase Memory for PMM2.x OVF Image

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Done
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Platform Sprint 7
    • Needs Review:
      Yes
    • Needs QA:
      Yes
    • Needs Packaging:
      Yes
    • Needs Doc:
      Yes

      Description

      Currently, the default Memory Size for PMM2.2.0 OVF image is 1 GB, which is not enough to run PMM-server and also perform Upgrade, the instance runs out of memory. 

      For example: if we take a look at an pmm-server instance running on OVF with just one mysql instance configured to monitor this is how the memory usage looks like: 

      clearly there is not enough storage available to perform an upgrade for PMM-server running on this instance. 

      when we try to force update, using alt+click, we can see OOM error in the log:

      Dec 24 14:58:24 localhost kernel: clickhouse-serv invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0 … Dec 24 14:58:24 localhost kernel: Out of memory: Kill process 1473 (percona-qan-api) score 269 or sacrifice child Dec 24 14:58:24 localhost kernel: Killed process 1473 (percona-qan-api), UID 1002, total-vm:320840kB, anon-rss:273152kB, file-rss:0kB, shmem-rss:0kB
      

      Solution: Just increase Memory to 4GB AND add at least 1GB Swap

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              puneet.kala Puneet Kala
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 4 hours, 40 minutes
                  4h 40m

                    Smart Checklist