limit journal size
This commit is contained in:
parent
d5d917e52f
commit
59d794d3a7
7 changed files with 38 additions and 3 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -2,8 +2,8 @@
|
||||||
# Maintainer: Librewish <librewish@gmail.com>
|
# Maintainer: Librewish <librewish@gmail.com>
|
||||||
|
|
||||||
pkgname=garuda-common-settings
|
pkgname=garuda-common-settings
|
||||||
pkgver=2.6.6
|
pkgver=2.6.7
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
|
|
15
usr/lib/sysctl.d/20-net-timeout.conf
Normal file
15
usr/lib/sysctl.d/20-net-timeout.conf
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
#
|
||||||
|
# This file is part of steamos-customizations.
|
||||||
|
#
|
||||||
|
# Copyright © 2022 Valve Corporation.
|
||||||
|
#
|
||||||
|
# steamos-customizations is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Lesser General Public License as
|
||||||
|
# published by the Free Software Foundation; either version 2.1 of the License,
|
||||||
|
# or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This is required due to some games being unable to reuse their TCP ports
|
||||||
|
# if they're killed and restarted quickly - the default timeout is too large.
|
||||||
|
|
||||||
|
net.ipv4.tcp_fin_timeout = 5
|
12
usr/lib/sysctl.d/20-sched.conf
Normal file
12
usr/lib/sysctl.d/20-sched.conf
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# SPDX-License-Identifier: LGPL-2.1+
|
||||||
|
#
|
||||||
|
# This file is part of steamos-customizations.
|
||||||
|
#
|
||||||
|
# Copyright © 2022 Valve Corporation.
|
||||||
|
#
|
||||||
|
# steamos-customizations is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Lesser General Public License as
|
||||||
|
# published by the Free Software Foundation; either version 2.1 of the License,
|
||||||
|
# or (at your option) any later version.
|
||||||
|
|
||||||
|
kernel.sched_cfs_bandwidth_slice_us = 3000
|
|
@ -1,4 +1,4 @@
|
||||||
# The swappiness sysctl parameter represents the kernel's preference (or avoidance) of swap space. Swappiness can have a value between 0 and 100, the default value is 60.
|
# The swappiness sysctl parameter represents the kernel's preference (or avoidance) of swap space. Swappiness can have a value between 0 and 200, the default value is 60.
|
||||||
# A low value causes the kernel to avoid swapping, a higher value causes the kernel to try to use swap space. Using a low value on sufficient memory is known to improve responsiveness on many systems.
|
# A low value causes the kernel to avoid swapping, a higher value causes the kernel to try to use swap space. Using a low value on sufficient memory is known to improve responsiveness on many systems.
|
||||||
vm.swappiness=133
|
vm.swappiness=133
|
||||||
|
|
||||||
|
|
2
usr/lib/systemd/journald.conf.d/00-journal-size.conf
Normal file
2
usr/lib/systemd/journald.conf.d/00-journal-size.conf
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Journal]
|
||||||
|
SystemMaxUse=50M
|
3
usr/lib/systemd/system.conf.d/timeout.conf
Normal file
3
usr/lib/systemd/system.conf.d/timeout.conf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[Manager]
|
||||||
|
DefaultTimeoutStopSec=10s
|
||||||
|
DefaultTimeoutAbortSec=10s
|
3
usr/lib/systemd/user.conf.d/timeout.conf
Normal file
3
usr/lib/systemd/user.conf.d/timeout.conf
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[Manager]
|
||||||
|
DefaultTimeoutStopSec=10s
|
||||||
|
DefaultTimeoutAbortSec=10s
|
Loading…
Reference in a new issue