Skip to content

Borg check freezes the low-powered server #8603

@rolandu

Description

@rolandu

Have you checked borgbackup docs, FAQ, and open GitHub issues?

Yes

Is this a BUG / ISSUE report or a QUESTION?

Question

System information. For client/server mode post info for both machines.

Your borg version (borg -V).

  • Server: 1.1.16
  • Client: 1.2.8

Operating system (distribution) and version.

  • Server: Debian 11, Linux 5.10.0-32-amd64
  • Client: Mint 22, Linux 6.8.0

Hardware / network configuration, and filesystems used.

  • Server: Mini PC, Intel Celeron N3000, 8 GB RAM, HDD, zfs
  • Client: Laptop, Intel Core 7 Ultra, SSD, 64GB RAM, ext4

Client and Server are on the same local network / wifi.

To summarize: This is a high-end laptop trying to backup to a low-end "server" (i.e. NUC-clone mini-pc).

How much data is handled by borg?

~600 GB

Full borg commandline that lead to the problem (leave away excludes and passwords)

borgmatic check --force

borgmatic config:

checks:
    - name: repository

this runs:

borg check --repository-only --debug --show-rc --progress

Describe the problem you're observing.

On the client machine I can monitor the progress of the check, which is about 10% per hour.

Meanwhile I am observing lots of errors on the server machine relating to other processes being out of memory, returning error 500, etc. (I am running some services on the same server).

Even after cancelling the check client-side, the server is still unresponsive. Half an hour later, I was able to log in via ssh and kill the borg process on the server, which was hogging 20% of CPU and lots of RAM.

Questions:

  • Could it be that my server is simply too underpowered to run the checks properly?
  • Is there a way to limit the system resources the server's borg process uses, e.g. limit to 2GB RAM?
  • Could running borg via sshfs instead of ssh reduce this problem, as I am not using the server's borg process?

Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.

Yes, happens every time I try to perform a check.

Include any warning/errors/backtraces from the system logs

N/A; can provide CRUD benchmark if it's considered relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions