Uploaded image for project: 'Percona Backup for MongoDB'
  1. Percona Backup for MongoDB
  2. PBM-559

pbm-agent runs out of memory while doing restore of large backup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.2
    • Component/s: None
    • Labels:
      None
    • Environment:
    • Needs Doc:
      Yes

      Description

      We are currently running tests on the on a large database, around 35 GB, to ensure that backups and restores work well. 

      The backup works well, it successfully uploads the dump to our s3 buckets.

      The restore however, does not work. The pbm-agent ends up using all available memory and gets killed by the kernel/kubernetes.

      It seems like the program is trying to buffer the entire backup in memory before doing the restore.

      We are not using PITR, just plain old backups.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              andrew.pogrebnoi Andrii Pogrebnoi
              Reporter:
              sbstp Simon Bernier St-Pierre
              Votes:
              1 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 - 2 days, 2 hours, 40 minutes
                  2d 2h 40m

                    Smart Checklist