Re: Bug#931111: linux-image-4.9.0-9: Memory "leak" caused by CGroup as used by pam_systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2019-07-23 at 15:56 +0200, Philipp Hahn wrote:
[...]
> - when the job / session terminates, the directory is deleted by
> pam_systemd.
> 
> - but the Linux kernel still uses the CGroup to track kernel internal
> memory (SLAB objects, pending cache pages, ...?)
> 
> - inside the kernel the CGroup is marked as "dying", but it is only
> garbage collected very later on
[...]
> I do not know who is at fault here, if it is
> - the Linux kernel for not freeing those resources earlier
> - systemd for using CGs in a broken way
> - someone others fault.
[...]

I would say this is a kernel bug.  I think it's the same problem that
this patch series is trying to solve:
https://lwn.net/ml/linux-kernel/20190611231813.3148843-1-guro@xxxxxx/

Does the description there seem to match what you're seeing?

Ben.

-- 
Ben Hutchings
You can't have everything.  Where would you put it?

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux