Backup error: exceeded allowed number of file entries (> 1048576)

yena

Renowned Member
Nov 18, 2011
385
6
83
I notice this error tryng a LXC container:

INFO: catalog upload error - channel closed

INFO: Error: error at "var/www/domains/xxx/public_html/var/session": exceeded allowed number of file entries (> 1048576)

INFO: cleanup temporary 'vzdump' snapshot
ERROR: Backup of VM 701 failed - command '/usr/bin/proxmox-backup-client backup '--crypt-mode=none' pct.conf:/var/tmp/vzdumptmp16642_701/etc/vzdump/pct.conf root.pxar:/mnt/vzsnap0 --include-dev /mnt/vzsnap0/./ --skip-lost-and-found '--exclude=/tmp/?*' '--exclude=/var/tmp/?*' '--exclude=/var/run/?*.pid' --backup-type ct --backup-id 701 --backup-time 1638534194 --repository root@pam@10.10.10.253:PBSDAY' failed: exit code 255

I this is the same problem: https://bugzilla.proxmox.com/show_bug.cgi?id=3069

Can i manually increase this value on some sys variable ?

Thanks!
 
May I ask why you store more than 1M files inside a single directory?
Hi, I am facing the same problem, and I can share my scenario, I am running Open Archiver with docker on PCT container to archive emails which have more than 1M emails in the INBOX in one of email accounts, and 3.6M+ total emails in the whole accounts.

I appreciate your time working on it.

Here is my PBS version
Code:
root@pbs:~# proxmox-backup-manager versions
proxmox-backup-server 3.0.1-1 running version: 3.0.1
root@pbs:~# uname -a
Linux pbs 6.2.16-3-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-3 (2023-06-17T05:58Z) x86_64 GNU/Linux
and here is my PVE version
Code:
pve-manager/8.4.1/2a5fa54a8503f96d (running kernel: 6.8.12-11-pve)
root@pve:~# uname -a
Linux pve 6.8.12-11-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-11 (2025-05-22T09:39Z) x86_64 GNU/Linux
and the attached file is the backup failed logs.

Solved by setting parameter in /etc/vzdump.conf
Code:
# grep -v ^# /etc/vzdump.conf

performance: pbs-entries-max=9999999
 

Attachments

Last edited: