/sys/fs/cgroup/memory/no_swap_java/memory.swappiness: Permission denied ERROR: Could not activate cgroup
This document (000021849) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
Situation
After upgrading to SUSE Linux Enterprise Server 15 SP6, a script that was running fine before now runs into the following error:
/sys/fs/cgroup/memory/no_swap_java/memory.swappiness: Permission denied
ERROR: Could not activate cgroup
Resolution
To enable the hybrid control group hierarchy, append systemd.unified_cgroup_hierarchy=0 as a kernel command-line parameter to the GRUB 2 boot loader.
For more details about configuring GRUB 2, refer to Chapter 18, The boot loader GRUB 2.
Cause
The default behavior for cgroups has changed between the support packs.
Please refer to the documentation:
https://documentation.suse.com/es-es/sles/15-SP6/html/SLES-all/cha-tuning-cgroups.html
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000021849
- Creation Date: 23-May-2025
- Modified Date:23-May-2025
-
- SUSE Linux Enterprise Server
- SUSE Linux Enterprise Server for SAP Applications
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com