mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-04-27 02:58:20 +02:00
sysctl.d: cleanup
This commit is contained in:
parent
7472baecb8
commit
b7adc678f4
@ -1,4 +1,2 @@
|
||||
# Only use swap when it has to be used. On SSDs it's preferable to not have
|
||||
# so much swap use, while on HDD the default 60 is ok.
|
||||
# REMEMBER TO `sudo systemctl enable --now earlyoom`
|
||||
vm.swappiness = 1
|
||||
# Start using swap when 90 % of RAM is used.
|
||||
vm.swappiness = 10
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
# Core files appear with filename <binary>-<PID>-<hostname>.core
|
||||
# Note, I am not sure if this makes sense especially when systemd or apport
|
||||
# or something similar is used as it tends to override this option
|
||||
kernel.core_pattern = %e-%p-%h.core
|
||||
@ -1,9 +0,0 @@
|
||||
# TODO: is this deprecated? It might be Debian-only regardless.
|
||||
|
||||
# A security hole required by at least by
|
||||
# * Brave https://github.com/brave/brave-browser/issues/3420
|
||||
# * IPFS Desktop https://github.com/ipfs-shipyard/ipfs-desktop/issues/1044
|
||||
# * A lot of Electron apps? https://github.com/electron/electron/issues/17972
|
||||
# Look for "The SUID sandbox helper binary was found, but is not configured correctly."
|
||||
# via https://superuser.com/a/1122977
|
||||
kernel.unprivileged_userns_clone=1
|
||||
@ -1,2 +0,0 @@
|
||||
# This is the default
|
||||
vm.swappiness = 60
|
||||
Loading…
x
Reference in New Issue
Block a user