[pbs-devel] [PATCH proxmox-backup 0/2] raise nofile limit for GC on S3 stores

Christian Ebner c.ebner at proxmox.com
Tue Nov 18 11:45:27 CET 2025


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





More information about the pbs-devel mailing list