{"id":11340,"date":"2026-04-02T18:16:04","date_gmt":"2026-04-02T21:16:04","guid":{"rendered":"https:\/\/www.blog.lineasdns.com\/cloudlinux-now-supports-cgroup-v2\/"},"modified":"2026-04-02T18:16:04","modified_gmt":"2026-04-02T21:16:04","slug":"cloudlinux-now-supports-cgroup-v2","status":"publish","type":"post","link":"https:\/\/www.blog.lineasdns.com\/en\/cloudlinux-now-supports-cgroup-v2\/","title":{"rendered":"CloudLinux Now Supports cgroup v2"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div id=\"hs_cos_wrapper_post_body\">\n<p><\/p>\n<p><span>CloudLinux now supports <span style=\"font-weight: bold;\">cgroup v2<\/span> on CloudLinux 8, 9, 10, and Ubuntu 22. New installations of CloudLinux 10 following this release will use cgroup v2 by default. On all other versions, cgroup v1 remains the default, and you can switch to v2 when you&#8217;re ready.<\/span><\/p>\n<p><span>From a day-to-day operations standpoint, practically nothing changes. Your LVE limits, control panel interface, and resource monitoring all continue to work the same way.<\/span><\/p>\n<p>\u00a0<\/p>\n<h2 data-id=\"u8vmNRXEZA-ub6\" data-type=\"unstyled\"><span>Why cgroup v2 matters<\/span>\u00a0<\/h2>\n<p><span>cgroup (control groups) is the Linux kernel mechanism that CloudLinux builds on to enforce per-user resource limits. The Linux kernel has two versions of this mechanism: v1 and v2.<\/span><\/p>\n<p>cgroup v2 has been the default in major Linux distributions since RHEL 9, Ubuntu 22.04, and Debian 11, and remains so in all current releases. Active kernel development focuses on v2, and it is the recommended interface for new deployments.<\/p>\n<p><span\/><span>For the technically curious, the <\/span><a target=\"_blank\" href=\"https:\/\/kernel.org\/doc\/html\/latest\/admin-guide\/cgroup-v2.html\"><u><span style=\"color: #1155cc;\">official Linux kernel cgroup v2 documentation<\/span><\/u><\/a><span> covers the full specification.<\/span>\u00a0<\/p>\n<p>\u00a0<\/p>\n<h3 data-id=\"u8vmNRXEZA-ub6\" data-type=\"unstyled\"><span>What changes for CloudLinux users<\/span>\u00a0<\/h3>\n<p data-id=\"u8vmNRXEZA-ub6\" data-type=\"unstyled\">Almost nothing from a user perspective. CloudLinux&#8217;s resource isolation (LVE) works the same way it always has: per-user CPU, memory, I\/O, and process limits are enforced transparently.\u00a0<\/p>\n<p>The one notable change is that under cgroup v2, memory and swap are managed separately by the kernel rather than as a combined limit. In normal operation, this makes no practical difference. The only scenario where behavior differs is during server-wide memory exhaustion, where the kernel handles swap differently. If your environment is sensitive to this, cgroup v1 remains available as a fallback.<\/p>\n<p data-id=\"u8vmNRXEZA-ub6\" data-type=\"unstyled\">\u00a0<\/p>\n<h3><span>Supported versions<\/span>\u00a0<\/h3>\n<p><span>cgroup v2 is supported on CloudLinux 8, 9, 10, and Ubuntu 22.<\/span>\u00a0<\/p>\n<p><span>The following package versions are required:<\/span>\u00a0<\/p>\n<div data-hs-responsive-table=\"true\" style=\"overflow-x: auto; max-width: 100%; width: 100%; margin-left: auto; margin-right: auto;\">\n<table style=\"width: 100%; border-collapse: collapse; table-layout: fixed; border: 1px solid #99acc2;\">\n<tbody>\n<tr>\n<td style=\"width: 23.6279%; padding: 4px;\"><strong>Package<\/strong><\/td>\n<td style=\"width: 19.6721%; padding: 4px;\"><strong>CloudLinux 8<\/strong><\/td>\n<td style=\"width: 19.2445%; padding: 4px;\"><strong>CloudLinux 9<\/strong><\/td>\n<td style=\"width: 18.6022%; padding: 4px;\"><strong>CloudLinux 10<\/strong><\/td>\n<td style=\"width: 18.8177%; padding: 4px;\"><strong>Ubuntu 22<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 23.6279%; padding: 4px;\">kmod-lve \/ kmodlve-dkms<\/td>\n<td style=\"width: 19.6721%; padding: 4px;\">2.1-58+<\/td>\n<td style=\"width: 19.2445%; padding: 4px;\">2.1-58+<\/td>\n<td style=\"width: 18.6022%; padding: 4px;\">2.1-58+<\/td>\n<td style=\"width: 18.8177%; padding: 4px;\">2.1-58+<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 23.6279%; padding: 4px;\">tuned-profiles-cloudlinux<\/td>\n<td style=\"width: 19.6721%; padding: 4px;\">0.2-14+<\/td>\n<td style=\"width: 19.2445%; padding: 4px;\">0.2-15+<\/td>\n<td style=\"width: 18.6022%; padding: 4px;\">0.3-6+<\/td>\n<td style=\"width: 18.8177%; padding: 4px;\">0.2-10+<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u00a0<span>CloudLinux 7 is <span style=\"text-decoration: underline;\">not<\/span> supported.<\/span>\u00a0<\/p>\n<p><\/p>\n<h3><span>How to enable cgroup v2<\/span>\u00a0<\/h3>\n<p>Switching between cgroup versions is done by applying the appropriate tuned profile and rebooting. Choose the profile that matches your current profile family.<\/p>\n<p><strong>If you use the default profile:<\/strong><br \/><code>tuned-adm profile cloudlinux-default-cgv2<\/code><code>reboot<\/code><span style=\"font-weight: bold;\">If you use the latency-performance profile:<\/span><\/p>\n<h2><code><span style=\"font-weight: normal;\">tuned-adm profile cloudlinux-latency-performance-cgv2<\/span><\/code><code><span style=\"font-weight: normal;\">reboot<\/span><\/code><\/h2>\n<p>\u00a0<\/p>\n<h2><span style=\"font-weight: bold;\">How to verify cgroup v2 is active<\/span><\/h2>\n<p><span style=\"font-weight: normal;\">After rebooting, check the kernel log:<\/span><span style=\"font-weight: bold;\"><br \/><\/span><\/p>\n<p><code>dmesg | grep -i \"cgroups\"<\/code><\/p>\n<p>\u00a0<span>The message &#8220;detected cgroups v2&#8221; confirms that your server is running with cgroup v2 and the LVE module is using it.<\/span>\u00a0<\/p>\n<p>\u00a0<\/p>\n<h2>Switching back to cgroup v1<\/h2>\n<p>If you need to revert, apply the v1 profile and reboot.<\/p>\n<p><span style=\"font-weight: bold;\">Default profile:<\/span><\/p>\n<p><code>tuned-adm profile cloudlinux-default-cgv1<\/code><code>reboot<\/code><span style=\"font-weight: bold;\">Latency-performance profile:<\/span><\/p>\n<p><code><span style=\"font-weight: normal;\">tuned-adm profile cloudlinux-latency-performance-cgv1<\/span><\/code><code><span style=\"font-weight: normal;\">reboot<\/span><\/code><\/p>\n<\/div>\n<p><script>(function(d, s, id) {\n  var js, fjs = d.getElementsByTagName(s)[0];\n  if (d.getElementById(id)) return;\n  js = d.createElement(s); js.id = id;\n  js.src = \"\/\/connect.facebook.net\/en_GB\/sdk.js#xfbml=1&version=v3.0\";\n  fjs.parentNode.insertBefore(js, fjs);\n }(document, 'script', 'facebook-jssdk'));<\/script><br \/>\n<br \/><br \/>\n<br \/>\n<center><\/p>\n<h2>\ud83d\udcb8 Affordable Cloud Servers in Argentina! \ud83d\ude80<\/h2>\n<p><\/center> <\/p>\n<p>At <a href=\"https:\/\/www.fulltech.com.ar\" target=\"_blank\" rel=\"noopener\"><strong>Full Tech Solutions<\/strong><\/a>, we offer <strong>Affordable Cloud Servers<\/strong> with high performance and advanced security, perfect for entrepreneurs, businesses, and developers looking for power at a budget-friendly price.<\/p>\n<p>\ud83d\udcb0 <strong>Competitive Pricing:<\/strong> Power and flexibility without breaking the bank.<br \/>\n\u26a1 <strong>High Performance:<\/strong> Speed and stability for your applications.<br \/>\n\ud83d\udd12 <strong>Advanced Security:<\/strong> Protect your data with cutting-edge technology.<br \/>\n\ud83d\udcde <strong>24\/7 Support:<\/strong> Our experts are ready to assist you anytime.<\/p>\n<p>Don&#8217;t compromise quality for cost. <strong><a href=\"https:\/\/www.fulltech.com.ar\" target=\"_blank\" rel=\"noopener\">Choose Full Tech Solutions<\/a><\/strong> and get the best affordable cloud servers in Argentina.<\/p>\n<p>\ud83c\udf10 Scale your project with performance and savings!<\/p>\n<p>\n<a href=\"https:\/\/blog.cloudlinux.com\/cloudlinux-now-supports-cgroup-v2?rand=1396\">Source Link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"CloudLinux now supports cgroup v2 on CloudLinux 8, 9, 10, and Ubuntu 22. New installations of CloudLinux 10&hellip;","protected":false},"author":1,"featured_media":11341,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[30,515],"tags":[],"class_list":{"0":"post-11340","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-cloudlinux","8":"category-lve","9":"cs-entry"},"_links":{"self":[{"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/posts\/11340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/comments?post=11340"}],"version-history":[{"count":0,"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/posts\/11340\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/media\/11341"}],"wp:attachment":[{"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/media?parent=11340"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/categories?post=11340"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blog.lineasdns.com\/en\/wp-json\/wp\/v2\/tags?post=11340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}