For Fedora Workstation, the current limit on mlock()ed memory per user
is 64kiB, which less than what some applications need.
In particular, Bitcoin Core uses mlock() to prevent private keys from
being swapped to disk. The total size of the wallet keys can exceed 300kB.
Audio is another use case that uses mlock() to prevent skips. Fedora
already has special cases for some apps such as jack, which it gives 4GB.
It looks like another custom rule was given to qemu recently:
The reason for the restriction is presumably an anti-DoS measure for
multi-user systems. It's not really clear where the 64kiB value came
from though - it seems like it could be much, much higher.
Thoughts on raising the value?
devel mailing list -- email@example.com
To unsubscribe send an email to devel-le...@lists.fedoraproject.org