]> git.somenet.org - root/pub/somesible.git/blob - roles/base/sysctl/files/default/sysctl.conf
[roles/base/sysctl] Set system settings - TODO: move to systemd subrole?
[root/pub/somesible.git] / roles / base / sysctl / files / default / sysctl.conf
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 # reboot after 5 sec
10 kernel.panic = 5
11
12 # spam consoles
13 #kernel.printk=7
14
15 # more shared mem
16 kernel.shmmax=268435456
17
18 # reduce swapping
19 vm.swappiness = 2
20
21 # slow raid resync from 200000 to... (only applies to md-raid)
22 dev.raid.speed_limit_min=40000
23 dev.raid.speed_limit_max=40000