| Server IP : 172.67.201.108 / Your IP : 216.73.216.25 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/systemd/system/ |
Upload File : |
# SPDX-License-Identifier: GPL-2.0 # # Copyright (c) 2022-2024 Oracle. All Rights Reserved. # Author: Darrick J. Wong <[email protected]> [Unit] Description=xfs_scrub background service slice Before=slices.target [Slice] # If the CPU usage cgroup controller is available, don't use more than 60% of a # single core for all background processes. CPUQuota=60% CPUAccounting=true [Install] # As of systemd 249, the systemd cgroupv2 configuration code will drop resource # controllers from the root and system.slice cgroups at startup if it doesn't # find any direct dependencies that require a given controller. Newly # activated units with resource control directives are created under the system # slice but do not cause a reconfiguration of the slice's resource controllers. # Hence we cannot put CPUQuota= into the xfs_scrub service units directly. # # For the CPUQuota directive to have any effect, we must therefore create an # explicit definition file for the slice that systemd creates to contain the # xfs_scrub instance units (e.g. [email protected]) and we must configure this # slice as a dependency of the system slice to establish the direct dependency # relation. WantedBy=system.slice