]> git.proxmox.com Git - pve-cluster.git/commit
pmxcfs: bump basic FS limits, 1 MiB per-file, 128 MiB total
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 30 Jun 2021 10:06:16 +0000 (12:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 1 Jul 2021 10:40:22 +0000 (12:40 +0200)
commita8df0863b5851dacb4f76ae6364ac1a02fbd56db
tree92185a63000deaf941dbc723bc955e6fffc0e47a
parentbe7f39fb8dcc22b5a1bc81437be8075f4ea5a94d
pmxcfs: bump basic FS limits, 1 MiB per-file, 128 MiB total

We have some users running into issues in some cases, like syncing
huge user base through LDAP into users.cfg or having a few thousands+
of HA services, as then the per-file limit is exhausted.

Bumping that one provides only half of the solution as the total
limit of 30 MiB would only allow a few files getting that big, or
reduce the amount left over for actual guest configurations quite a
bit.

So also bump the total filesystem limit from 30 MiB to 128 MiB, so by
a factor of ~4 and in the same spirit bump the maximal numbers of
inodes (i.e., different files) from 10k to 256k, which pmxcfs can
handle still rather easily (tested with touch) and would allow to max
out the full FS limit with 512 byte files, which fits small guest
configs, so sounds like an OK proportioned limit.

That should give use quite some wiggle room again, and should be
relatively safe as most of our access is rather small and on a few
files only, only root has full access anyway and that user can break
everything already, so not much lost here.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/src/memdb.h