Hello!

I think it's reasonable to raise the value, not sure how much, but definitely should be higher.


Cheers,
Sylvia



On Tue, 2016-09-20 at 00:00 -0700, Thomas Daede wrote:
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:
https://bugzilla.redhat.com/show_bug.cgi?id=1293024

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?

- Thomas
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org