FS#75556 - [gcr] Default locked memory limit is reduced
Attached to Project:
Arch Linux
Opened by lukpod (lukpod) - Tuesday, 09 August 2022, 00:36 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 12 August 2022, 13:12 GMT
Opened by lukpod (lukpod) - Tuesday, 09 August 2022, 00:36 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 12 August 2022, 13:12 GMT
|
Details
The current default locked memory limit is 8192 KB.
# ulimit -a | grep -e -l max locked memory (kbytes, -l) 8192 # sudo -u nobody sh -c 'ulimit -a | grep -e -l' max locked memory (kbytes, -l) 8192 It's reduced to 1024 KB for the group users. $ cat /etc/security/limits.d/10-gcr.conf @users - memlock 1024 https://www.mankier.com/5/limits.conf#Description-memlock Previously the default limit was smaller. https://bugs.archlinux.org/task/32616 https://bugzilla.gnome.org/show_bug.cgi?id=688161 |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Friday, 12 August 2022, 13:12 GMT
Reason for closing: Fixed
Additional comments about closing: gcr 3.41.1-2
Friday, 12 August 2022, 13:12 GMT
Reason for closing: Fixed
Additional comments about closing: gcr 3.41.1-2
Is the problem that 8192 KB is too high? Or is it that the setting of 1024 in /etc/security/limits.d/10-gcr.conf is not taking effect?
IIUC, that setting is only applicable to the "users" group, which BTW on my system happens to be empty/unused (i.e useless?)
https://github.com/archlinux/svntogit-packages/commit/7ad066a8ca15b2556c8241b56c71b7e87385ceec
https://github.com/archlinux/svntogit-packages/commit/f2e74331607f0f26081143af5c62be34e0a2f1c2
https://github.com/torvalds/linux/commit/9dcc38e2813e0cd3b195940c98b181ce6ede8f20