all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Christian Ebner <c.ebner@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 0/2] raise nofile limit for GC on S3 stores
Date: Tue, 18 Nov 2025 11:45:27 +0100	[thread overview]
Message-ID: <20251118104529.254348-1-c.ebner@proxmox.com> (raw)

Datastores backed by s3 object stores rely on per-chunk file locks
for consistency. However, the soft limit for open file handles might
be to low during garbage collection, as there chunks are processed in
batches of up to 1000 objects. Therefore, use the pre-existing helper
defined in the proxmox-backup-client to raise the resource limits to
the hard limit at start of garbage collection for s3 backed
datastores.

Christian Ebner (2):
  tools: move rlimit helper from pbs-client to pbs-tools
  GC: raise nofile soft limit to the hard limit on s3 backed stores

 pbs-client/src/tools/mod.rs       | 23 -----------------------
 pbs-datastore/src/datastore.rs    |  7 +++++++
 pbs-tools/src/lib.rs              | 25 +++++++++++++++++++++++++
 proxmox-backup-client/src/main.rs |  4 ++--
 4 files changed, 34 insertions(+), 25 deletions(-)

-- 
2.47.3



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel


             reply	other threads:[~2025-11-18 10:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-18 10:45 Christian Ebner [this message]
2025-11-18 10:45 ` [pbs-devel] [PATCH proxmox-backup 1/2] tools: move rlimit helper from pbs-client to pbs-tools Christian Ebner
2025-11-18 10:45 ` [pbs-devel] [PATCH proxmox-backup 2/2] GC: raise nofile soft limit to the hard limit on s3 backed stores Christian Ebner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251118104529.254348-1-c.ebner@proxmox.com \
    --to=c.ebner@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal