[pbs-devel] [PATCH proxmox-backup v2] etc: raise nofile soft limit for proxmox-backup-proxy

Christian Ebner c.ebner at proxmox.com
Thu Nov 20 10:27:42 CET 2025


Since commit 86d5d073 ("GC: fix race with chunk upload/insert on s3
backends"), per-chunk file locks are acquired during phase 2 of
garbage collection for datastores backed by s3 object stores. This
however means that up to 1000 file locks might be held at once, which
can result in the limit of open file handles to be reached.

Therefore, bump the nolimit for the proxmox-backup-proxy in the systemd
service unit, while keeping the hard limit as defined in
/etc/systemd/system.conf.

Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
Changes since version 1:
- Bumpt the limit directly in the systemd service unit

 etc/proxmox-backup-proxy.service.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/etc/proxmox-backup-proxy.service.in b/etc/proxmox-backup-proxy.service.in
index 7ca806aa4..52ad99356 100644
--- a/etc/proxmox-backup-proxy.service.in
+++ b/etc/proxmox-backup-proxy.service.in
@@ -10,6 +10,7 @@ Type=notify
 ExecStart=%LIBEXECDIR%/proxmox-backup/proxmox-backup-proxy
 ExecReload=/bin/kill -HUP $MAINPID
 PIDFile=/run/proxmox-backup/proxy.pid
+LimitNOFILE=4096:524288
 Restart=on-failure
 User=%PROXY_USER%
 Group=%PROXY_USER%
-- 
2.47.3





More information about the pbs-devel mailing list