Missing the reason
Missing the reason
Posted Sep 7, 2025 17:01 UTC (Sun) by mb (subscriber, #50428)In reply to: Missing the reason by mirabilos
Parent article: No more 32-bit Firefox support
Have you looked into cgroups for limiting the memory consumption of applications?
That would even work with multi process applications.
Posted Sep 7, 2025 18:06 UTC (Sun)
by mirabilos (subscriber, #84359)
[Link] (14 responses)
Posted Sep 11, 2025 10:48 UTC (Thu)
by kpfleming (subscriber, #23250)
[Link] (6 responses)
Posted Sep 11, 2025 13:00 UTC (Thu)
by mathstuf (subscriber, #69389)
[Link]
Posted Sep 11, 2025 22:27 UTC (Thu)
by mbunkus (subscriber, #87248)
[Link]
systemd-run --user --property=MemoryMax=16G firefox
Posted Sep 11, 2025 22:49 UTC (Thu)
by mirabilos (subscriber, #84359)
[Link] (3 responses)
> never saw any useful docs for how to use them other than “just use systemd, man
You fulfilled the cliché beautifully, though, I’ve to admit.
(No, I don’t and won’t run systemd, period.)
Posted Sep 12, 2025 6:08 UTC (Fri)
by zdzichu (guest, #17118)
[Link] (2 responses)
Posted Sep 12, 2025 15:03 UTC (Fri)
by mirabilos (subscriber, #84359)
[Link] (1 responses)
Posted Sep 12, 2025 20:58 UTC (Fri)
by Cyberax (✭ supporter ✭, #52523)
[Link]
Posted Sep 11, 2025 13:49 UTC (Thu)
by intelfx (subscriber, #130118)
[Link] (2 responses)
Well, cgmanager exists (or, at least, existed). In its time it was absolutely a viable alternative to systemd, and docker used to support both. The upstream development stopped in 2020, presumably because nobody wanted to do it anymore.
It’s hardly systemd’s fault that it turned out so good nobody actually desired to continue developing the alternatives.
> and then there’s the v1 vs. v2 issue
There is no issue. One is obsolete, other is actively supported.
Posted Sep 11, 2025 22:52 UTC (Thu)
by mirabilos (subscriber, #84359)
[Link] (1 responses)
> > and then there’s the v1 vs. v2 issue
Who cares about supported?
The issue is that some software will only work with one of them. (I *think* I had to mkdir and mount cgroups v1 stuff in trixie to get… something… to work, Docker maybe or libvirt).
Posted Sep 11, 2025 23:23 UTC (Thu)
by intelfx (subscriber, #130118)
[Link]
Precisely. Case in point.
> Who cares about supported?
Those who write the code that you complain about.
Posted Sep 13, 2025 17:11 UTC (Sat)
by donald.buczek (subscriber, #112892)
[Link] (2 responses)
You and most people will probably already know this, but of course you can also use cgroups without any special software by manipulating the files and directories in /sys/fs/cgroup (or wherever else you mount the cgroup2 filesystem).
However, I don't know whether this helps in the context of libvirt and Docker. I'm not familiar with them and don't know what their requirements are.
Posted Sep 13, 2025 17:38 UTC (Sat)
by mirabilos (subscriber, #84359)
[Link] (1 responses)
Much appreciated.
Posted Sep 16, 2025 7:11 UTC (Tue)
by taladar (subscriber, #68407)
[Link]
Missing the reason
Missing the reason
Missing the reason
Missing the reason
Missing the reason
Missing the reason
Missing the reason
Missing the reason
Missing the reason
Missing the reason
>
> There is no issue. One is obsolete, other is actively supported.
Missing the reason
Missing the reason
Everything is documented at https://docs.kernel.org/admin-guide/cgroup-v2.html.
Missing the reason
Missing the reason