Memory leak when creating and destroying many models

Bug #1634328 reported by Christopher Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Tim Penhey
2.1
Fix Released
High
Tim Penhey

Bug Description

Similar to this previous bug 1625774.

We still see increasing memory usage after adding and then removing models.

This report is over a 12 hour run: http://people.canonical.com/~leecj2/ps/bugreport/

We see that memory usage is still climbing (albeit not as drastic as previously[1] but still increasing).

[1] http://people.canonical.com/~leecj2/perfscalemem/

Tim Penhey (thumper)
summary: - Memory leak when creating and destroying man models
+ Memory leak when creating and destroying many models
description: updated
Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.1.0
Curtis Hovey (sinzui)
tags: added: destroy-model
tags: added: cdo-qa-blocker
Revision history for this message
Anastasia (anastasia-macmood) wrote :

@Jason,
I saw you added a tag to this bug. Does it affect OIL? What version of Juju 2.1 are you running? We have seen vast improvements with 2.1b5. Are you still seeing the issue?

Revision history for this message
Tim Penhey (thumper) wrote :

Chris, can we get a run with 2.1-beta5 to gather some numbers?

Changed in juju:
status: Triaged → In Progress
assignee: nobody → Tim Penhey (thumper)
Changed in juju:
milestone: 2.1.0 → 2.2.0-alpha1
Revision history for this message
Tim Penhey (thumper) wrote :

There is continued leaks here. Extra introspection has been added into the 2.1 branch.

Once this lands https://github.com/juju/juju/pull/6949 I'd like to run the tests again with additional output gathered during the running.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

We have addressed a number of leaks in 2.1. I am marking this as Fix Committed for 2.1-rc2 and Incomplete for 2.2 as we are awaiting for newer test results that would include extra introspection output.

Changed in juju:
status: In Progress → Incomplete
Tim Penhey (thumper)
Changed in juju:
milestone: 2.2-alpha1 → 2.2-alpha2
Revision history for this message
Anastasia (anastasia-macmood) wrote :

@Jason Hobbs (jason-hobbs), @Christopher Lee, @Curtis Hovey (sinzui),

Can you please verify that we have addressed this issue on 2.2-alpha1? Daily snaps will do.

We are currently lacking current data from you to determine whether further improvements are required.

Revision history for this message
Ian Booth (wallyworld) wrote :

Another data point - Rick is running a MAAS system (very recent 2.2 build) which still shows linear memory growth. He is giving Tim some heap dumps to look at.

Revision history for this message
Tim Penhey (thumper) wrote :
Changed in juju:
status: Incomplete → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.