limit journal size

This commit is contained in:
librewish 2022-09-08 11:55:37 +05:30
parent d5d917e52f
commit 59d794d3a7
7 changed files with 38 additions and 3 deletions

View File

@ -2,8 +2,8 @@
# Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings
pkgver=2.6.6
pkgrel=2
pkgver=2.6.7
pkgrel=1
arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
license=('GPL')

View 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

View 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

View File

@ -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.
vm.swappiness=133

View File

@ -0,0 +1,2 @@
[Journal]
SystemMaxUse=50M

View File

@ -0,0 +1,3 @@
[Manager]
DefaultTimeoutStopSec=10s
DefaultTimeoutAbortSec=10s

View File

@ -0,0 +1,3 @@
[Manager]
DefaultTimeoutStopSec=10s
DefaultTimeoutAbortSec=10s