Dan, this is the v3 of the patch. I bumped the version to 20.28 since my
proposed 20.27 caused the regression aforementioned.

For this version, I removed the dependency of cgmanager, along with the
code that added closing sessions to garbage collector. Happens that a
similar code is present on systemd-logind already, and for some reason
(which is still a mystery for me) I was seeing a session leak in the
tool. My hypothesis is that I built one version of the tool without the
bunch of debian patches, and so that portion of code wasn't present.
Then, I started working in a fix, but in the end, the fix is useless
since a similar one is already there.

Anyway, the patch now just avoid some small memory leaks in both
session's free path and cgmanager glue code. It was tested in both
kernels 3.13 and 4.14 (with and without cgmanager), I didn't observe
leaks anymore nor high CPU utilization.

Thanks,


Guilherme

** Patch added: "lp1750013-trusty_v3.debdiff"
   
https://bugs.launchpad.net/ubuntu/artful/+source/systemd/+bug/1750013/+attachment/5100204/+files/lp1750013-trusty_v3.debdiff

** Tags removed: regression-proposed verification-done verification-done-trusty
** Tags added: sts-sru-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1750013

Title:
  systemd-logind: memory leaks on session's connections (trusty-only)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1750013/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to