Re: [systemd-devel] Making /run respect Container Memory Limits

2024-11-07 Thread Michal Koutný
On Mon, Sep 30, 2024 at 12:17:40PM GMT, Lennart Poettering wrote: > > Does this mean that if something can't afford its working set to be > > paged out for latency reasons, it _also_ can't afford its own code to be > > paged out, and therefore should call mlockall() or otherwise explicitly > > ml

Re: [systemd-devel] Question regarding memory accounting display behavior related to MemoryAccounting

2024-11-07 Thread Michal Koutný
Hi Matthew. On Wed, Oct 02, 2024 at 08:10:04AM GMT, Matthew Chae wrote: > https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#MemoryAccounting= The implicit accounting is from kernel PoV. With the unified cgroup hierarchy, same granularity applies to all siblin

Re: [systemd-devel] How can you differentiate behavior between stop and stop as part of restart?

2024-11-07 Thread Michal Koutný
Hello. On Mon, Oct 14, 2024 at 05:54:28PM GMT, Kelsey Cummings wrote: > I've come up to a problem that I haven't been able to figure out how to > solve. I have a well behaved daemon process that manages its own children > and has both the ability to gracefully reload it's config and gracefully

Re: [systemd-devel] Query on systemctl daemon-reload

2024-11-07 Thread Michal Koutný
Hello Nag. On Tue, Oct 22, 2024 at 03:38:44PM GMT, Nageswararao Nandigam <2nageshnandi...@gmail.com> wrote: > I have a use case where I use systemd api to enforce resource limits for > systemd service. I create drop-files/unit files under service.d/ directory > in the customer vm and run the syst

Re: [systemd-devel] Fwd: System fails to create zram on startup, but I can do so manually

2024-11-07 Thread Michal Koutný
Hello Torstein. On Tue, Nov 05, 2024 at 03:51:31PM GMT, Torstein Sørnes wrote: > I have a Fedora 41 laptop with 32GB of ram. > > On startup, this shows in the journal: > ``` > nov. 05 13:58:32 D2S3Q34 zram-generator[1059]: Error: Failed to configure > disk size into /sys/block/zram0/disksize >