limit journal size

merge-requests/6/head 2.6.7
librewish 3 months ago
parent d5d917e52f
commit 59d794d3a7
  1. 4
      PKGBUILD
  2. 15
      usr/lib/sysctl.d/20-net-timeout.conf
  3. 12
      usr/lib/sysctl.d/20-sched.conf
  4. 2
      usr/lib/sysctl.d/99-sysctl-garuda.conf
  5. 2
      usr/lib/systemd/journald.conf.d/00-journal-size.conf
  6. 3
      usr/lib/systemd/system.conf.d/timeout.conf
  7. 3
      usr/lib/systemd/user.conf.d/timeout.conf

@ -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')

@ -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

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

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

@ -0,0 +1,3 @@
[Manager]
DefaultTimeoutStopSec=10s
DefaultTimeoutAbortSec=10s
Loading…
Cancel
Save