|
23 | 23 | <link rel="apple-touch-icon" href="/favicon.ico"> |
24 | 24 | <link rel="stylesheet" href="/assets/css/site.css?v=b310d7c992"> |
25 | 25 | <link rel="stylesheet" href="/assets/css/main.css?v=ccd72260b9"> |
26 | | - <script type="application/ld+json">[{"@context": "https://schema.org", "@type": "TechArticle", "headline": "Troubleshooting", "description": "Fixes for common Droidspaces container problems: systemd hangs, paranoid networking, SELinux corruption, OverlayFS on f2fs, sparse image reclaim, Wi-Fi power save.", "url": "https://www.droidspaces.org/docs/troubleshooting.html", "inLanguage": "en", "dateModified": "2026-10-04", "author": {"@type": "Organization", "name": "Droidspaces", "url": "https://www.droidspaces.org/", "sameAs": ["https://github.com/ravindu644/Droidspaces-OSS", "https://t.me/Droidspaces"]}, "publisher": {"@type": "Organization", "name": "Droidspaces", "url": "https://www.droidspaces.org/", "sameAs": ["https://github.com/ravindu644/Droidspaces-OSS", "https://t.me/Droidspaces"]}, "isPartOf": {"@type": "WebSite", "name": "Droidspaces", "url": "https://www.droidspaces.org/"}}, {"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.droidspaces.org/"}, {"@type": "ListItem", "position": 2, "name": "Documentation", "item": "https://www.droidspaces.org/docs/"}, {"@type": "ListItem", "position": 3, "name": "Troubleshooting", "item": "https://www.droidspaces.org/docs/troubleshooting.html"}]}]</script> |
| 26 | + <script type="application/ld+json">[{"@context": "https://schema.org", "@type": "TechArticle", "headline": "Troubleshooting", "description": "Fixes for common Droidspaces container problems: systemd hangs, paranoid networking, SELinux corruption, OverlayFS on f2fs, sparse image reclaim, Wi-Fi power save.", "url": "https://www.droidspaces.org/docs/troubleshooting.html", "inLanguage": "en", "dateModified": "2026-10-07", "author": {"@type": "Organization", "name": "Droidspaces", "url": "https://www.droidspaces.org/", "sameAs": ["https://github.com/ravindu644/Droidspaces-OSS", "https://t.me/Droidspaces"]}, "publisher": {"@type": "Organization", "name": "Droidspaces", "url": "https://www.droidspaces.org/", "sameAs": ["https://github.com/ravindu644/Droidspaces-OSS", "https://t.me/Droidspaces"]}, "isPartOf": {"@type": "WebSite", "name": "Droidspaces", "url": "https://www.droidspaces.org/"}}, {"@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{"@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.droidspaces.org/"}, {"@type": "ListItem", "position": 2, "name": "Documentation", "item": "https://www.droidspaces.org/docs/"}, {"@type": "ListItem", "position": 3, "name": "Troubleshooting", "item": "https://www.droidspaces.org/docs/troubleshooting.html"}]}]</script> |
27 | 27 | <script>(function(){const t=localStorage.getItem('theme');if(t)document.documentElement.setAttribute('data-theme',t);})();</script> |
28 | 28 | </head> |
29 | 29 | <body> |
@@ -361,6 +361,7 @@ <h2 id="a-resource-limit-is-unavailable-although-its-kernel-option-is-enabled">A |
361 | 361 | <p>A <code>0</code> there means the kernel was booted with <code>cgroup_disable=</code> for that controller: <code>cgroup_disable=memory</code>, <code>cgroup_disable=cpu</code> or <code>cgroup_disable=pids</code>. Confirm it with <code>cat /proc/cmdline</code>. <code>cgroup_disable=memory</code> is the common one, many vendor and custom Android kernels use it to save a little memory.</p> |
362 | 362 | <p><strong>Fix:</strong> remove the argument from the kernel command line. It comes from <code>CONFIG_CMDLINE</code> in the kernel config, from the boot image header (<code>boot</code> or <code>vendor_boot</code>), or from the bootloader. If <code>zcat /proc/config.gz | grep CMDLINE</code> does not show it, it is one of the last two. Avoid <code>CONFIG_CMDLINE_FORCE</code> as a way out on Android: it drops every other argument the device passes at boot as well.</p> |
363 | 363 | <p>The container still starts either way, only the limit is skipped.</p> |
| 364 | +<p>If the controller has no row in <code>/proc/cgroups</code> at all, the kernel is 6.12 or later and was built without that controller's cgroup v1 code (<code>CONFIG_MEMCG_V1</code>, <code>CONFIG_CPUSETS_V1</code>). That file only lists controllers with v1 support compiled in. The controller is still there on cgroup v2: <code>cat /sys/fs/cgroup/cgroup.controllers</code> shows it, and the limit works. Droidspaces reads that file too, so an up to date build reports the limit as supported.</p> |
364 | 365 | <hr /> |
365 | 366 | <h2 id="getting-help">Getting help <a class="header-anchor" href="#getting-help">#</a></h2> |
366 | 367 | <p>If your problem is not listed here:</p> |
|
0 commit comments