2017-04-24 18:48:03 |
Thomas Ward |
bug |
|
|
added bug |
2017-04-24 19:27:44 |
Thomas Ward |
tags |
amd64 apport-bug third-party-packages xenial |
amd64 apport-bug apport-collected third-party-packages xenial |
|
2017-04-24 19:27:45 |
Thomas Ward |
description |
This has been noticed on several systems of mine, all 16.04.
Landscape Client takes up, over time, an *extreme* amount of system resources.
On a 1024MB RAM system, within 3 days to a month, Landscape Client and it's python scripts (possibly cached data?) are consuming massive quantities of memory - in the realm of 512MB RAM and over 400MB of the Swap on the system.
This is repeatably shown in other systems of mine as well. Is there a memory leak or something in landscape-client that would contribute to this issue?
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: landscape-client 16.03-0ubuntu2.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Uname: Linux 4.4.0-72-generic x86_64
NonfreeKernelModules: talpa_vfshook talpa_pedconnector talpa_vcdevice talpa_core talpa_linux talpa_syscallhook talpa_pedevice
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Mon Apr 24 14:42:37 2017
InstallationDate: Installed on 2017-04-02 (21 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: landscape-client
UpgradeStatus: No upgrade log present (probably fresh install) |
This has been noticed on several systems of mine, all 16.04.
Landscape Client takes up, over time, an *extreme* amount of system resources.
On a 1024MB RAM system, within 3 days to a month, Landscape Client and it's python scripts (possibly cached data?) are consuming massive quantities of memory - in the realm of 512MB RAM and over 400MB of the Swap on the system.
This is repeatably shown in other systems of mine as well. Is there a memory leak or something in landscape-client that would contribute to this issue?
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: landscape-client 16.03-0ubuntu2.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Uname: Linux 4.4.0-72-generic x86_64
NonfreeKernelModules: talpa_vfshook talpa_pedconnector talpa_vcdevice talpa_core talpa_linux talpa_syscallhook talpa_pedevice
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Mon Apr 24 14:42:37 2017
InstallationDate: Installed on 2017-04-02 (21 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: landscape-client
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2017-04-02 (21 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
Package: landscape-client 16.03-0ubuntu2.16.04.1
PackageArchitecture: amd64
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Tags: third-party-packages xenial
Uname: Linux 4.4.0-72-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True |
|
2017-04-24 19:27:45 |
Thomas Ward |
attachment added |
|
Dependencies.txt https://bugs.launchpad.net/bugs/1685885/+attachment/4867423/+files/Dependencies.txt |
|
2017-04-24 19:27:47 |
Thomas Ward |
attachment added |
|
JournalErrors.txt https://bugs.launchpad.net/bugs/1685885/+attachment/4867424/+files/JournalErrors.txt |
|
2017-04-24 19:28:11 |
Thomas Ward |
attachment removed |
Dependencies.txt https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1685885/+attachment/4867419/+files/Dependencies.txt |
|
|
2017-04-24 19:28:18 |
Thomas Ward |
attachment removed |
JournalErrors.txt https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1685885/+attachment/4867420/+files/JournalErrors.txt |
|
|
2017-04-24 20:07:06 |
Thomas Ward |
bug task added |
|
landscape-client |
|
2017-05-10 12:27:07 |
Thomas Ward |
landscape-client (Ubuntu): importance |
Undecided |
High |
|
2017-07-14 14:41:50 |
Launchpad Janitor |
landscape-client (Ubuntu): status |
New |
Confirmed |
|
2017-07-14 15:02:42 |
Thomas Ward |
landscape-client: status |
New |
Confirmed |
|
2017-11-10 14:33:34 |
Jan Brodda |
bug |
|
|
added subscriber janxb |
2018-01-30 11:56:41 |
GhostSeven |
bug |
|
|
added subscriber GhostSeven |
2018-03-30 22:39:51 |
David Britton |
landscape-client: importance |
Undecided |
High |
|
2018-04-03 12:36:11 |
Jeff Zamanski |
bug |
|
|
added subscriber Jeff Zamanski |
2018-04-12 08:18:45 |
Jan Brodda |
removed subscriber Jan Brodda |
|
|
|
2018-04-12 08:22:28 |
Jan Brodda |
bug |
|
|
added subscriber Jan Brodda |
2018-04-12 08:29:54 |
Jan Brodda |
attachment added |
|
memory_usage_landscape-client.png https://bugs.launchpad.net/landscape-client/+bug/1685885/+attachment/5111929/+files/memory_usage_landscape-client.png |
|
2018-04-12 19:43:56 |
Simon Poirier |
landscape-client: assignee |
|
Simon Poirier (simpoir) |
|
2018-04-12 19:44:00 |
Simon Poirier |
landscape-client: status |
Confirmed |
In Progress |
|
2018-05-08 20:04:56 |
Preston Skaggs |
bug |
|
|
added subscriber Preston Skaggs |
2018-06-19 20:05:29 |
Simon Poirier |
landscape-client: status |
In Progress |
Fix Committed |
|
2018-06-30 23:26:13 |
Mathew Hodson |
tags |
amd64 apport-bug apport-collected third-party-packages xenial |
amd64 apport-bug apport-collected patch-accepted-upstream third-party-packages xenial |
|
2019-02-12 15:04:10 |
Eric Desrochers |
nominated for series |
|
Ubuntu Trusty |
|
2019-02-12 15:04:10 |
Eric Desrochers |
bug task added |
|
landscape-client (Ubuntu Trusty) |
|
2019-02-12 15:04:10 |
Eric Desrochers |
nominated for series |
|
Ubuntu Bionic |
|
2019-02-12 15:04:10 |
Eric Desrochers |
bug task added |
|
landscape-client (Ubuntu Bionic) |
|
2019-02-12 15:04:10 |
Eric Desrochers |
nominated for series |
|
Ubuntu Cosmic |
|
2019-02-12 15:04:10 |
Eric Desrochers |
bug task added |
|
landscape-client (Ubuntu Cosmic) |
|
2019-02-12 15:04:10 |
Eric Desrochers |
nominated for series |
|
Ubuntu Xenial |
|
2019-02-12 15:04:10 |
Eric Desrochers |
bug task added |
|
landscape-client (Ubuntu Xenial) |
|
2019-02-12 15:04:49 |
Eric Desrochers |
landscape-client (Ubuntu Cosmic): assignee |
|
Simon Poirier (simpoir) |
|
2019-02-12 15:04:54 |
Eric Desrochers |
landscape-client (Ubuntu Bionic): assignee |
|
Simon Poirier (simpoir) |
|
2019-02-12 15:05:18 |
Eric Desrochers |
landscape-client (Ubuntu Xenial): assignee |
|
Simon Poirier (simpoir) |
|
2019-02-12 15:05:24 |
Eric Desrochers |
landscape-client (Ubuntu Trusty): assignee |
|
Simon Poirier (simpoir) |
|
2019-02-12 15:05:27 |
Eric Desrochers |
landscape-client (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2019-02-12 15:05:37 |
Eric Desrochers |
landscape-client (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2019-02-12 15:05:39 |
Eric Desrochers |
landscape-client (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2019-02-12 15:05:41 |
Eric Desrochers |
landscape-client (Ubuntu Cosmic): importance |
Undecided |
Medium |
|
2019-02-12 15:05:44 |
Eric Desrochers |
landscape-client (Ubuntu Cosmic): status |
New |
In Progress |
|
2019-02-12 15:05:46 |
Eric Desrochers |
landscape-client (Ubuntu Bionic): status |
New |
In Progress |
|
2019-02-12 15:05:48 |
Eric Desrochers |
landscape-client (Ubuntu Xenial): status |
New |
In Progress |
|
2019-02-12 15:05:51 |
Eric Desrochers |
landscape-client (Ubuntu Trusty): status |
New |
In Progress |
|
2019-02-12 15:07:00 |
Eric Desrochers |
landscape-client (Ubuntu): assignee |
|
Simon Poirier (simpoir) |
|
2019-02-12 15:07:06 |
Eric Desrochers |
landscape-client (Ubuntu): status |
Confirmed |
In Progress |
|
2019-02-12 15:07:11 |
Eric Desrochers |
landscape-client (Ubuntu Trusty): importance |
Medium |
High |
|
2019-02-12 15:07:13 |
Eric Desrochers |
landscape-client (Ubuntu Xenial): importance |
Medium |
High |
|
2019-02-12 15:07:14 |
Eric Desrochers |
landscape-client (Ubuntu Bionic): importance |
Medium |
High |
|
2019-02-12 15:07:16 |
Eric Desrochers |
landscape-client (Ubuntu Cosmic): importance |
Medium |
High |
|
2019-02-12 15:07:26 |
Eric Desrochers |
bug |
|
|
added subscriber Eric Desrochers |
2019-02-12 15:07:53 |
Eric Desrochers |
bug |
|
|
added subscriber STS Sponsors |
2019-02-12 20:44:18 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~simpoir/ubuntu/+source/landscape-client/+git/landscape-client/+merge/363090 |
|
2019-02-12 20:49:57 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~simpoir/ubuntu/+source/landscape-client/+git/landscape-client/+merge/363092 |
|
2019-02-12 20:52:05 |
Simon Poirier |
bug task deleted |
landscape-client (Ubuntu Trusty) |
|
|
2019-02-12 21:12:09 |
Simon Poirier |
description |
This has been noticed on several systems of mine, all 16.04.
Landscape Client takes up, over time, an *extreme* amount of system resources.
On a 1024MB RAM system, within 3 days to a month, Landscape Client and it's python scripts (possibly cached data?) are consuming massive quantities of memory - in the realm of 512MB RAM and over 400MB of the Swap on the system.
This is repeatably shown in other systems of mine as well. Is there a memory leak or something in landscape-client that would contribute to this issue?
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: landscape-client 16.03-0ubuntu2.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Uname: Linux 4.4.0-72-generic x86_64
NonfreeKernelModules: talpa_vfshook talpa_pedconnector talpa_vcdevice talpa_core talpa_linux talpa_syscallhook talpa_pedevice
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Mon Apr 24 14:42:37 2017
InstallationDate: Installed on 2017-04-02 (21 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: landscape-client
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2017-04-02 (21 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
Package: landscape-client 16.03-0ubuntu2.16.04.1
PackageArchitecture: amd64
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Tags: third-party-packages xenial
Uname: Linux 4.4.0-72-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True |
[Impact]
* Memory usage of landscape processes abnormally grows, over time,
even for processes which are generally idle and have no reason to
grow.
* Most of that memory leak is due to uninitialized python-twisted
logging facilities buffering logs and their context. This fix
Initializes logging with a null handler to have those unused log
entries discarded.
* Upstream twisted has mitigated part of the issue in recent releases
by reducing the default buffer size. Because of that, the impact
of this bug is greater on xenial.
[Test Case]
* register a landscape client and log the memory growth over a day
* the effect is most noticeable on /usr/bin/landscape-client and less on
the other processes
* the memory difference on recent releases (bionic and up) is
expected to be smaller (~10mb on bionic instead of 200mb on xenial)
[Regression Potential]
* The fix initializes twisted logging, which is unused by landscape
so it is unlikely to have an impact.
* The fix comes from recommendations on the upstream bug:
https://twistedmatrix.com/trac/ticket/8164
[Original description]
This has been noticed on several systems of mine, all 16.04.
Landscape Client takes up, over time, an *extreme* amount of system resources.
On a 1024MB RAM system, within 3 days to a month, Landscape Client and it's python scripts (possibly cached data?) are consuming massive quantities of memory - in the realm of 512MB RAM and over 400MB of the Swap on the system.
This is repeatably shown in other systems of mine as well. Is there a memory leak or something in landscape-client that would contribute to this issue?
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: landscape-client 16.03-0ubuntu2.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Uname: Linux 4.4.0-72-generic x86_64
NonfreeKernelModules: talpa_vfshook talpa_pedconnector talpa_vcdevice talpa_core talpa_linux talpa_syscallhook talpa_pedevice
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Mon Apr 24 14:42:37 2017
InstallationDate: Installed on 2017-04-02 (21 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: landscape-client
UpgradeStatus: No upgrade log present (probably fresh install)
---
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2017-04-02 (21 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
Package: landscape-client 16.03-0ubuntu2.16.04.1
PackageArchitecture: amd64
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Tags: third-party-packages xenial
Uname: Linux 4.4.0-72-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True |
|
2019-02-12 21:14:37 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~simpoir/ubuntu/+source/landscape-client/+git/landscape-client/+merge/363093 |
|
2019-02-12 21:17:07 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~simpoir/ubuntu/+source/landscape-client/+git/landscape-client/+merge/363091 |
|
2019-02-13 01:33:11 |
Launchpad Janitor |
landscape-client (Ubuntu): status |
In Progress |
Fix Released |
|
2019-02-13 12:31:31 |
Eric Desrochers |
removed subscriber STS Sponsors |
|
|
|
2019-02-21 15:46:33 |
Brian Murray |
landscape-client (Ubuntu Cosmic): status |
In Progress |
Fix Committed |
|
2019-02-21 15:46:35 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2019-02-21 15:46:36 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2019-02-21 15:46:40 |
Brian Murray |
tags |
amd64 apport-bug apport-collected patch-accepted-upstream third-party-packages xenial |
amd64 apport-bug apport-collected patch-accepted-upstream third-party-packages verification-needed verification-needed-cosmic xenial |
|
2019-02-21 15:48:51 |
Brian Murray |
landscape-client (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2019-02-21 15:48:57 |
Brian Murray |
tags |
amd64 apport-bug apport-collected patch-accepted-upstream third-party-packages verification-needed verification-needed-cosmic xenial |
amd64 apport-bug apport-collected patch-accepted-upstream third-party-packages verification-needed verification-needed-bionic verification-needed-cosmic xenial |
|
2019-02-21 15:50:57 |
Brian Murray |
landscape-client (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2019-02-21 15:51:04 |
Brian Murray |
tags |
amd64 apport-bug apport-collected patch-accepted-upstream third-party-packages verification-needed verification-needed-bionic verification-needed-cosmic xenial |
amd64 apport-bug apport-collected patch-accepted-upstream third-party-packages verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-xenial xenial |
|
2019-02-27 23:15:06 |
Simon Poirier |
tags |
amd64 apport-bug apport-collected patch-accepted-upstream third-party-packages verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-xenial xenial |
amd64 apport-bug apport-collected patch-accepted-upstream third-party-packages verification-done verification-done-bionic verification-done-cosmic verification-done-xenial xenial |
|
2019-03-04 16:28:30 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2019-03-04 16:39:12 |
Launchpad Janitor |
landscape-client (Ubuntu Cosmic): status |
Fix Committed |
Fix Released |
|
2019-03-04 16:41:35 |
Launchpad Janitor |
landscape-client (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2019-03-04 16:48:38 |
Launchpad Janitor |
landscape-client (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2019-03-06 14:55:55 |
Adam Collard |
landscape-client: status |
Fix Committed |
Fix Released |
|