Appserver memory issues with Storm 0.14

Bug #390861 reported by Francis J. Lacoste
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

We are seeing a lot more time outs and memory issues on Edge than usual since the Storm 0.14 upgrade landed.

https://devpad.canonical.com/~matsubara/edge-2009-06-22-16:00:00.html

https://lpstats.canonical.com/graphs/AppServer5XXsEdge/

.

Changed in launchpad-foundations:
assignee: nobody → Stuart Bishop (stub)
importance: Undecided → Critical
milestone: none → 2.2.6
status: New → Triaged
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Branch reverting the upgrade is on its way to PQM.

Revision history for this message
Francis J. Lacoste (flacoste) wrote :

Coincidently, or perhaps not, all app servers have gone belly up with memory errors.

Revision history for this message
Stuart Bishop (stub) wrote :

Prejoin is working fine - you can see the prejoin queries quite clearly in a number of the OOPSes.

The new precache is being used in a single location and is not an issue.

The new Storm does have a new cache, which we wanted to help alleviate the major memory problems a number of our scripts have with the old StupidCache we hacked into old-Storm.

description: updated
summary: - New storm pre-cache doesn't work
+ Appserver memory issues issues
Revision history for this message
Stuart Bishop (stub) wrote : Re: Appserver memory issues issues

Unassigning from me - what is there to do on this task?

Changed in launchpad-foundations:
assignee: Stuart Bishop (stub) → nobody
Changed in launchpad-foundations:
importance: Critical → High
milestone: 2.2.6 → 2.2.7
summary: - Appserver memory issues issues
+ Appserver memory issues with Storm 0.14
Revision history for this message
Stuart Bishop (stub) wrote :

Storm 0.14 will be running shortly on staging, running with GenerationalCache and a cache size of 50000. If staging has memory issues, and edge does not, then Storm is the likely culprit.

Changed in launchpad-foundations:
status: Triaged → Incomplete
Revision history for this message
Stuart Bishop (stub) wrote :

Staging starts up fine, but memory usage creeps up and CPU time climbs up to a constant 80%. This happens with both GenerationalCache and our old StupidCache. I suspect a memory leak causing the garbage collector to g nuts.

Changed in launchpad-foundations:
status: Incomplete → Triaged
Revision history for this message
Stuart Bishop (stub) wrote :

I'm updating Storm to trunk + lp:~jamesh/storm/bug-217644 (the unmerged patch fixes a regression on trunk).

The branch is lp:~stub/launchpad/update-storm, and it is with ec2test now.

Revision history for this message
Stuart Bishop (stub) wrote :

Some test failures: https://pastebin.canonical.com/19146/

These might be regressions from 0.14 even with jamesh's patch, or perhaps we were relying on bad behavior.

I'll have a closer look when I get back on my feet (sick again) unless someone beats me to it. The branch is lp:~stub/launchpad/update-storm.

Revision history for this message
Stuart Bishop (stub) wrote :

If anyone works on this, don't merge launchpad/db-devel into the branch as we will need to land this on launchpad/devel once we are satisfied that staging is ok.

Revision history for this message
Stuart Bishop (stub) wrote :

Sent off a branch using Storm trunk r290 to ec2test. r290 contains a memory leak fix. r291+ contain changes that break our tests.

Revision history for this message
Stuart Bishop (stub) wrote :

Landed Storm 0.14 + trunk r290 on launchpad/db-devel. r8221.

Revision history for this message
Stuart Bishop (stub) wrote :

No leaks.

Stuart Bishop (stub)
Changed in launchpad-foundations:
status: Triaged → Fix Released
assignee: nobody → Stuart Bishop (stub)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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