Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #64521

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

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#931111: linux-image-4.9.0-9: Memory "leak" caused by CGroup as used by pam_systemd
Date 2019-07-24 00:10 +0200
Message-ID <ynb8S-21u-17@gated-at.bofh.it> (permalink)
References <yddlD-4ce-1@gated-at.bofh.it> <ynb8S-21u-19@gated-at.bofh.it> <yddlD-4ce-1@gated-at.bofh.it> <ynb8S-21u-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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@fb.com/

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

Ben.

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

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#931111: linux-image-4.9.0-9-amd64: Memory leak - fixed with 4.9.174 (or earlier) Philipp Hahn <hahn@univention.de> - 2019-06-26 12:30 +0200
  Bug#931111: linux-image-4.9.0-9: Memory "leak" caused by CGroup as used by pam_systemd Ben Hutchings <ben@decadent.org.uk> - 2019-07-24 00:10 +0200

csiph-web